CSS driving me crazy
- Started
- Last post
- 25 Responses
- Shepstar15
I have a css problem it's probably just a little thing. I have navigation under dsm.ideen-reich.com but next to each button like home, news etc. there is always a space, which I can't get away. Any ideas are welcome and apreciated.
Cheers
- sherman0
You have to bump all your links together but my suggestion would be to use a ul and li as its more stable.
- Shepstar150
I had li and ul before and stripped it to see if thats the problem.
- ********0
Glue the blank "spacer" to the previous <a href> tag. It'll work.
- Shepstar150
so put li and ul together and no spaces but still no change
- i mean in the sourcecode. glue the spacer tag to previous tag. And try to change utf-8 page encoding to ISO. this way blank space won't count.********
- space won't count.********
- i mean in the sourcecode. glue the spacer tag to previous tag. And try to change utf-8 page encoding to ISO. this way blank space won't count.
- sherman0
close your li tags
- Shepstar150
closed them and took out the whitespaces. still no change
- ********0
try changing your <meta> to:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- Shepstar150
changed the encoding and closed the li tags, but still nothing. Somehow the tables where easier and faster ;)
- ********0
well i edited your html clearing spaces and it worked.
- Shepstar150
could you show me an example of how you cleared them? perhaps I'm understanding something wrong?
- ********0
clear the space between </li> and <li>, like </li><li>.
- Shepstar150
ok it finally worked, but now the source code isn't the easiest to read. I though tabs didn't matter?
- apply "Enter" now for reading, in ISO encoding. It'll work.********
- I did two with enter and then the spaces show up again even with the iso
Shepstar15 - hmmm. well it's a div line. You didn't specify div lenght. Browser will space until available div line breaks.********
- specify lenght in <div> tag. =sum of all pictures+spacer in pixels.********
- apply "Enter" now for reading, in ISO encoding. It'll work.
- Shepstar150
thanks for the quick help anyway
- ********0
Nevermind. Godspeed to your errands.
- ********0
^^> you need to specify the div length. Otherwise the browser will auto space tags within available space till the line breaks.
- Shepstar150
As soon as I put any breaks in it leaves those spaces. I even put the div width in it now
- ********0
Are you working in Dreamweaver?
- Shepstar150
no with coda, everything made by hand :D
- weird... "coda" is Mac, I presume? Maybe something to do with page settings for the file.********
- weird... "coda" is Mac, I presume? Maybe something to do with page settings for the file.
- Shepstar150
never had that problem before
