HighDots Forums  

css: top border issue

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss css: top border issue in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nabil m
 
Posts: n/a

Default css: top border issue - 06-28-2004 , 10:09 AM






hi , i have built my navigation bar using css
(http://www.nabboull.com/v3/html/contact.html) as you can see the top white
line does not show up (i am using IE ver 6) - it is weird i can see the top
white line of my block in design mode but not when i ftp to my site

and here is my css for that tag

#topnavigation a{
font-family: "Trebuchet MS";
font-size: 12px;
text-decoration: none;
color: #FFFFFF;
font-weight: normal;
padding: 5px;
border-top: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;

}


any help is greatly appreciated
thx



Reply With Quote
  #2  
Old   
Lossed
 
Posts: n/a

Default Re: top border issue - 06-28-2004 , 08:19 PM






I'm note sure if this helps but...
Neither the html or css is valid, according to the w3c validation service:

html results:
http://validator.w3.org/check?uri=http://www.nabboull.com/v3/html/contact.html

css results:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.nabboull.com%2Fv3%2 Fhtml%2Fcontact.html&warning=1&profile=css2&userme dium=all

Good luck.


"nabil m" <nabil (AT) hagedorn (DOT) com> wrote

Quote:
hi , i have built my navigation bar using css
(http://www.nabboull.com/v3/html/contact.html) as you can see the top
white
line does not show up (i am using IE ver 6) - it is weird i can see the
top
white line of my block in design mode but not when i ftp to my site

and here is my css for that tag

#topnavigation a{
font-family: "Trebuchet MS";
font-size: 12px;
text-decoration: none;
color: #FFFFFF;
font-weight: normal;
padding: 5px;
border-top: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;

}


any help is greatly appreciated
thx





Reply With Quote
  #3  
Old   
James Shook
 
Posts: n/a

Default Re: css: top border issue - 06-29-2004 , 08:53 AM



The top white line shows up in IE5.2, Safari and Mozilla (all Macintosh
versions.) Perhaps it's an IE6/Windows bug?

--
James M. Shook
http://www.jshook.com

Reply With Quote
  #4  
Old   
Lossed
 
Posts: n/a

Default Re: css: top border issue - 06-29-2004 , 08:00 PM



ahhhhhhhhhh....the wonderful world of CSS browser support.

"James Shook" <jshook (AT) dont_mail (DOT) com> wrote

Quote:
The top white line shows up in IE5.2, Safari and Mozilla (all Macintosh
versions.) Perhaps it's an IE6/Windows bug?

--
James M. Shook
http://www.jshook.com



Reply With Quote
  #5  
Old   
trx
 
Posts: n/a

Default Re: css: top border issue - 06-29-2004 , 09:45 PM



nabil m wrote:

Quote:
as you can see the top white
line does not show up (i am using IE ver 6)
Try adding the following to your style for #topnavigation a:

line-height: 30px;


--
trx


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.