Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 10-02-2004, 02:22 PM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Annoying CSS, Firefox prob

OK, my site is at the url http://www.pointless-existence.com - notice how the sidebars are on IE (how I want it to be) and on Firefox (too far over to the right).

What have I done wrong here, basically I just want it to appear the same in both browsers, without me having to resort to using seperate stylesheets.

Any ideas about what to do?
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #2 (permalink)  
Old 10-02-2004, 04:03 PM
Fusion's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-08-04
Posts: 1,268
iTrader: 0 / 0%
Oi barton Nooooo


__________________
Free RPG Games Online
 
Reply With Quote
  #3 (permalink)  
Old 10-02-2004, 06:34 PM
seonewbee's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 05-12-04
Posts: 302
iTrader: 0 / 0%
A picture of it in IE would be nice since I don't have IE. Any way, I noticed that your text on the copyrith need to have "padding :0px, 20px,0px,0px". Besides that the page looks much better than I can do. Hopes that helps
 
Reply With Quote
  #4 (permalink)  
Old 10-02-2004, 11:52 PM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
lol @ Fusion, I'll just get pictures of it in IE and FireFox and post em up now.
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #5 (permalink)  
Old 10-03-2004, 12:00 AM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Images

Ok, here are images of it in Firefox and in IE. (the titles should be self-explanatory)
Attached Thumbnails
Annoying CSS, Firefox prob-firefoxprob.gif   Annoying CSS, Firefox prob-iefine.gif  
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #6 (permalink)  
Old 10-03-2004, 05:23 AM
Fusion's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 03-08-04
Posts: 1,268
iTrader: 0 / 0%
padding or margins.
__________________
Free RPG Games Online
 
Reply With Quote
  #7 (permalink)  
Old 10-03-2004, 06:06 AM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Probably is, I'm just not sure what id they should be in :s
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #8 (permalink)  
Old 10-03-2004, 07:36 AM
No Longer Here
Latest Blog:
None

 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
Code:
#menu ul li { color: #000000; font-family: Lucida Grande, Lucida Sans Unicode, Lucida, Helvetica, Verdana, Arial, Sans-serif; font-weight: bold; font-size: 12px; margin-top: 15px; margin-left: 10px; padding: 5px; }
I think it might be the margin-left: 10px; you have there.
 
Reply With Quote
  #9 (permalink)  
Old 10-03-2004, 07:39 AM
No Longer Here
Latest Blog:
None

 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
Now I'm thinking that's not it.

I would take out extra paddings and margins one by one till you get it. Probably somewhere in the #menu stuff.
 
Reply With Quote
  #10 (permalink)  
Old 10-03-2004, 09:56 AM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Ok, I've removed all the paddings except 2, which need to be kept, and all margins except for the main - one, are removed, but I'm still getting the same problem.
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #11 (permalink)  
Old 10-03-2004, 12:06 PM
evilregis's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 08-06-04
Location: Ontario
Posts: 206
iTrader: 0 / 0%
Try adding:

html>body #menu { width: 240px; }

to your stylesheet.
 
Reply With Quote
  #12 (permalink)  
Old 10-03-2004, 12:29 PM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
That worked perfectly, you're a saint.
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #13 (permalink)  
Old 10-03-2004, 12:43 PM
evilregis's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 08-06-04
Location: Ontario
Posts: 206
iTrader: 0 / 0%
Glad. Since I'm not sure how familiar you are with CSS, and that code is useless to you if you don't know what it means... and for anyone else who may happen across this thread, a quick explanation:

IE doesn't know what to do with html>body (which is compliant) so by adding that anything after is ignored by IE. If you just changed your original menu declaration, that change would affect both IE and Firefox. Firefox would be working but then IE would botch.

So html>body #menu will modify the original width attribute specified. Hiding it from IE but fixing it in browsers that know how to properly render CSS.

Any questions, shoot. I'm a bit under the weather today and having a hard time articulating. If it's fuzzy, I apologize.
 
Reply With Quote
  #14 (permalink)  
Old 10-03-2004, 12:52 PM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Yeah, I do understand what its doing. I'm reasonably familiar, but with 400 or so lines of CSS, everything just sort of ends up a blur, and I miss and forget things.

Thanks again.
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #15 (permalink)  
Old 10-05-2004, 02:12 PM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Well, now I've found another slight problem. In Firefox on the following page, the side menu content is continuing on down, and the footer bar, is half way along this.

How could I stop this?
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #16 (permalink)  
Old 10-05-2004, 06:13 PM
seonewbee's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 05-12-04
Posts: 302
iTrader: 0 / 0%
Quote:
Originally Posted by edbarton
Well, now I've found another slight problem. In Firefox on the following page, the side menu content is continuing on down, and the footer bar, is half way along this.

How could I stop this?
What is the following page?
 
Reply With Quote
  #17 (permalink)  
Old 10-06-2004, 09:02 AM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
lol, that was good

http://www.pointless-existence.com/a...sign/#comments
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #18 (permalink)  
Old 10-10-2004, 11:54 AM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
Ok, any solutions to this problem, where the footer bar (id-credit) appears, above the bottom of the page, and also how sometimes the content goes over it.

http://www.pointless-existence.com/a...10/the-design/
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
  #19 (permalink)  
Old 10-10-2004, 08:15 PM
seonewbee's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 05-12-04
Posts: 302
iTrader: 0 / 0%
Change your code to

#credit {
clear: both;
margin: 0 auto;
padding: 0 0 0 0;
background-color: #333333;
border-top: 1px solid #000000;
width: 747px;
height: 58px;
text-align: left;
color: #666666;
font-size: 10px;
line-height: 18px;
position:relative;
}

Works in firefix 0.8 and konqueror 3.14, have not tried others. Have you checked in opera? I have nad pages work in opera and not in firefox. Very strange!

Last edited by seonewbee; 10-10-2004 at 08:25 PM.
 
Reply With Quote
  #20 (permalink)  
Old 10-10-2004, 11:13 PM
edbarton's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-13-03
Location: England
Posts: 1,757
iTrader: 0 / 0%
The bar is still not aligning at the bottom, however the text no longer goes over it.

see http://www.pointless-existence.com/a...10/the-design/
__________________
Teen Forums - Breaking News

formerly known as cardesign
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need assitance on solving css ie browser prob kade119 Coding Forum 1 03-26-2007 02:20 PM
Prob kakarotto Coding Forum 6 12-16-2004 03:41 PM
Image ready sklice optimization file size prob Drat39 Graphic Design Forum 1 06-07-2004 07:35 AM
can ne1 help me with my forum prob?? ShadowQ Coding Forum 3 03-08-2004 10:41 PM
Frames prob IE6 RichardMac Web Design Lobby 11 10-25-2003 11:51 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 11:35 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.