css frustration
- Started
- Last post
- 11 Responses
- hotroddy
My buttons get seperated on PC Internet Explorer but remain nice and tight on Mac browsers. What css style do I have to apply to PC's to correctly display it as in the picture below?
Correct picture:
Active link: (Try on PC browser)
http://www.margaretmaldonado.com…
- acescence0
why oh why are you making those links with images? it would be simpler and much smaller to do it all with css and text
- sherman0
it might be your html if you have spaces between the buttons.
bump your image tags against each other
- sherman0
and what he said
- sherman0
way faster then making images
- acescence0
and what sherman said. there's white space between each that you must delete
- thismanslife0
What he said... and he said, plus maybe try making your images block elements.
- hotroddy0
I agree with you guys that the buttons should be text and not images. I didn't build the site...I just update it for them.
"it might be your html if you have spaces between the buttons."
---You mean I can't break down the into seperate lines for organizational purposes?
they all have to remain together?
- sherman0
yeah they all have to stay together. for some reason pcs pick up the whitespace between the img tags.
"An img tag that stays together lays together"
-- sherman
- ETM0
You could just replicate the look of that nav with a CSS formatted list in about 5 minutes and then be able to type your updates, rather than make a new image each time.
Client wouldn't need to know (most likely wouldn't care, either) and would make your life much easier. It would also load quicker in the browser.
- hotroddy0
good point ETM. I'm trying to get them to redesign the site and I'm using this as a sell...
thanks for the help Sherman. Even though I didn't want to resort to that...it's a quick fix and it will have to do for now...
- thismanslife0
Here's a quicker fix:
img
{
float:left;
}