Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 09-02-2004, 09:51 AM   #1 (permalink)
Insane
 
Location: USA
[html] spaces between list items

I am having an html issue on some pages that I am doing. Everything looks fine on all browsers other than IE for the PC. The problem is that IE seems to be putting some spaces between all my list items (on the left nav.) I can't seem to find these spaces in the code, and they go away when i run the list items together (I don't really want to do this, plus I feel like there has to be some other explanation.)

here is a page that has the issue:

http://drackett.mine.nu/design/admis...ate/index.html
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
Old 09-02-2004, 10:23 AM   #2 (permalink)
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
I think your CSS file could be the problem.

try playing around with the
#sidenav
directives in the CSS file.
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
Silvy is offline  
Old 09-02-2004, 10:48 AM   #3 (permalink)
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
What fixes it for IE(6) breaks it for Opera (7.54) <sigh>
but this is the one you should look at:

display: block;

within the #sidenav a:link, #sidenav a:visited directive.
Happy CSS-ing!
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
Silvy is offline  
Old 09-02-2004, 10:50 AM   #4 (permalink)
Insane
 
Location: USA
When I take that block out, I don't think it will work on any browsers.. and try selecting the text on IE.. there are clearly spaces between the list items..

also, i did a test, and when you take the line-breaks out of the code (HTML) it works...

any other ideas?
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams

Last edited by 3zos; 09-02-2004 at 11:05 AM..
3zos is offline  
Old 09-02-2004, 10:56 AM   #5 (permalink)
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
I use opera as my default browser so that's why I noticed...
But I mentioned it to show the fact that it can break current browser (mozilla etc) support. But Opera is the only other one available for me here...
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)
Silvy is offline  
Old 09-02-2004, 11:06 AM   #6 (permalink)
Insane
 
Location: USA
yeah, that breaks it in everything but IE... there has to be something else..

odd.
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
Old 09-02-2004, 11:13 AM   #7 (permalink)
Insane
 
Location: USA
i don't currently have a pc, but does this file:

http://drackett.mine.nu/design/untitled.html

have the same problem?
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
Old 09-02-2004, 04:30 PM   #8 (permalink)
Junkie
 
Put the closing </LI> tag on the same line as the opening <LI> tag. I used to have the same problem with extra whitespace in <TD> tags, and that's what fixed it. Don't leave any space between the end of the tag's content and the closing tag.

EDIT: Never mind. I was looking at the stuff on the righthand side.

Last edited by SinisterMotives; 09-02-2004 at 04:33 PM..
SinisterMotives is offline  
Old 09-02-2004, 04:36 PM   #9 (permalink)
Junkie
 
The XHTML starting at line 49 is not well-formed. You cannot have an unordered list between two list items. A nested list must be between the opening and closing tags of the containing list item.
SinisterMotives is offline  
Old 09-02-2004, 06:02 PM   #10 (permalink)
Insane
 
Location: USA
hm.. i didn't know that.. i'll try changing that and see what happens... it does, however, happen in lists without nesting..
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
Old 09-03-2004, 07:10 AM   #11 (permalink)
Junkie
 
I'm not going to open Internet Explorer to look at this because I got infested with a zillion adware programs last time I used IE. It's possible the LI content is being forced to wrap because it's wider than one of the parent elements. IE dogmatically asserts the width of a parent element, whereas Mozilla will let the child element's content overflow the righthand boundary of a parent element.
SinisterMotives is offline  
Old 09-03-2004, 08:01 AM   #12 (permalink)
Insane
 
Location: USA
would that still be the case if it works when you run the list items together?


Thanks so much for all the help!
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
Old 09-03-2004, 08:54 AM   #13 (permalink)
Junkie
 
It shouldn't be. The whitespace between tagsets is meaningless. You could have 50 blank lines between one list item and the next, and it wouldn't matter.
SinisterMotives is offline  
Old 09-03-2004, 09:35 AM   #14 (permalink)
Insane
 
Location: USA
you should check it out.. its very odd.
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
Old 09-03-2004, 02:06 PM   #15 (permalink)
Junkie
 
Sorry, but I don't have time to clean up anymore adware or spyware today. I don't think it would help anyway. I'm out of ideas.
SinisterMotives is offline  
Old 09-07-2004, 08:21 PM   #16 (permalink)
Psycho
 
soopafreek's Avatar
 
Location: ask your mom
have you tried using the "line-height" declaration on your list items or on the unordered list itself?

try it in place of using "padding".
__________________
aaarrrrrgggghhhh!!!!
soopafreek is offline  
Old 09-08-2004, 06:26 AM   #17 (permalink)
Insane
 
Location: USA
good idea. I'll give that a try
__________________
S U C C E S S

some people dream of success, while other people live to crush those dreams
3zos is offline  
 

Tags
html, items, list, spaces


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 On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 04:19 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360