| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Sep 2005
Posts: 3,779
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | CSS link padding not workingCode: #navbar a {
border-left: 1px solid #5D5D5D;
border-right: 1px solid #353535;
border-top: 1px solid #5D5D5D;
border-bottom: 1px solid #353535;
background-color: #424242;
color: white;
font-size: 12px;
text-decoration: none;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 10px;
padding-right: 10px;
}
__________________ Attractive, Compelling, Efficient Web Design & Development |
| |
| | #2 (permalink) |
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() | Is this just IE, or all browsers? Have you tried changing the bottom padding to less, to see if it drops? I have had that issue before, not sure why though.
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! |
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Sep 2005
Posts: 3,779
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Its the same in IE and Firefox. And yeah, when I drop the bottom padding it changes. Which is really screwed up lol because it should work for the top as well.
__________________ Attractive, Compelling, Efficient Web Design & Development |
| |
| | #4 (permalink) |
| Senior Member Join Date: Dec 2004
Posts: 1,304
![]() ![]() ![]() ![]() ![]() | I know, I have ran into that, and that was the only fix I could find, unless someone knows why this happens, because this is more of a work around than a fix, so if anyone knows, please let us know
__________________ You got no time for the messenger, got no regard for the thing that you don't understand, you got no fear of the underdog, that's why you will not survive! |
| |
| | THREAD STARTER #5 (permalink) |
| Senior Member Join Date: Sep 2005
Posts: 3,779
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | It's weird because padding-top will work on other divs, just not the one I want it to work on.
__________________ Attractive, Compelling, Efficient Web Design & Development |
| |
| | #6 (permalink) |
| Senior Member Join Date: Nov 2005 Location: on a oil rig just off Ireland
Posts: 1,408
![]() ![]() ![]() ![]() ![]() | try putting Code: position:relative; ![]() also, is there any other parts to the navbar class? the problem could be elsewhere.
__________________ You design in photoshop, I code into valid XHTML/CSS. Professional PSD, PNG or HTML to tableless XHTML/CSS designs. For more info, send me a PM. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I am desperate for your help! with css... | Joe | CODE | 6 | 11-26-2005 04:30 AM |
| Anyone know why this link dump script is not working? :) | IAmAllanShore | Programming | 0 | 06-20-2005 09:01 PM |
| ALL REDUCED Up To 50% - 48 Hours Only!!! | URLCollection | Domains For Sale - Make Offer | 6 | 08-02-2003 02:23 PM |
| July Specials - More Traffic Domains | URLCollection | Domain Names with Traffic Stats | 14 | 07-30-2003 06:45 AM |