Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-03-30 06:10:42
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
IE Positional bug and DIV Issues
Hey, first time poster…so please go easy on me. I have checked out the Wiki, the FAQ, and Google, but I cannot find any answers to these questions.
The site in question is http://zanthria.com. I’m using a customized version of the Just Maybe template.
1) Why the heck does the body have a huge margin above it in IE? It’s not there in Fx, and I cannot figure out why its there. Is it my use of ‘em’?
2) How can I use a version of the “DIV id=” property in order to have muliple spans on 1 page with the same id – and yet have them seperated.
I’m sorry if that doesn’t make sense. Let me attempt to explain with an example.
Like this is invalid:
<code>
<div id=“bob”>Bob</div>
<div id=“ted”>Ted</div>
<div id=“bob”>More Bob</div>
</code>
Obviously this is incorrect and it does not validate. But I want both bob tags to have the same css without having to repeat myself in the css. What command can I use instead in order to achieve this?
Thanks in advance, and I am well aware of the CSS errors – they have to do with the bas_lghtbox extension I am using. Oh – and the site is not really live…I’m just mucking around, so a lot of features won’t work. Just a warning. I appreciate it.
Last edited by erissiva (2006-03-30 06:14:31)
zan.thri.a – personal political/philosophical blog
Offline
Re: IE Positional bug and DIV Issues
1) I think it’s because the margin-left (22em) and the width on the #area (40em) exceed the total column-width of #container (60em).
2) If you use “div class=“bob”“, then it’s valid to repeat those spans. The attribute ‘class’ is meant for that purpose.
…Prrrrrrrr…
Offline
#3 2006-03-30 06:31:21
- erissiva
- Member
- Registered: 2006-03-30
- Posts: 18
Re: IE Positional bug and DIV Issues
1) Aha! Thanks so much…that was a complete oversight on my part. I appreciate it.
2) Thanks again. I taught myself CSS here and there, so I never realized that. Again, thanks so much.
Note to mods: I got all my help here – you can do whatever you want with the topic now. =^_^=
zan.thri.a – personal political/philosophical blog
Offline
Re: IE Positional bug and DIV Issues
You’re welcome.
…Prrrrrrrr…
Offline
Pages: 1