A problem with forum alignment. [message #38607] |
Sat, 18 August 2007 22:37 |
WITCH
Messages: 42 Registered: December 2006 Location: Illinois USA.
Karma: 0
|
Member |
|
|
A problem with forum alignment.
I have found that all of my forums content appears centered when viewed with Internet explorer, yet appears normally (left justified ) when viewed in Firefox; I have looked and looked till my eyes bleed and cannot figure out why yet other forums I have viewed with explorer do not have this problem.
Does anyone know why this is or how to fix it? Any help would be greatly appreciated as this is unacceptable, I am certain it has to do with the alignment tags in the header but I am not seeing the error.
If I remove the Header source code the problem resolves but then I no longer have a header so it must be there somewhere (If you are not at piasa already, you can view the source code here: piasa.info: A problem with forum alignment. by right clicking the page and selecting view source) while I am still working on finding a solution, otherwise just right click/view source.
Explorer screen shot here showing the wrong alignment
Firefox screen shot here showing the right alignment
I have also found that some screen resolutions in explorer drop the last header image down so it appears beneath the other four, so if you have any idea on how to keep them all aligned (as shown in the screen shots in all screen resolutions) as well that would be great!
I really want to keep both the headers and Fud so this is quite an issue for me as well as those users who still use Explorer.
If you are interested in modifying your CSS and visit piasa, you may want to take a look at the: CSS image linked style sheet showing the effect of CSS changes on the forums. that I am working on. I am hoping that it will be useful to others like me who are not so well versed in the ins and outs of fudforum in general but still want to customize the appearance of Fud.
(I am working on making this available here to answer some of the CSS questions and as a resource for users wanting too modify or customize the look of their Fudforum by modifying the default Fudforum CSS, so any suggestions on this would be welcome as well)
I am new to this so explain things very, very carefully!
|
|
|
Re: A problem with forum alignment. [message #38624 is a reply to message #38607] |
Sun, 19 August 2007 13:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I suspect of the text-align: center is leaking in IE and causing all of the text to be centered. Unfortunately there is not much beyond trial and error through commenting out various align-center attributes I can suggest.
FUDforum Core Developer
|
|
|
|
Re: A problem with forum alignment. [message #38633 is a reply to message #38607] |
Sun, 19 August 2007 22:57 |
WITCH
Messages: 42 Registered: December 2006 Location: Illinois USA.
Karma: 0
|
Member |
|
|
Problem solved and corrected! Actually I should say problems because there was more than one! In essence the original method I used to ensure the mouse over image links in the header were centered were wrong, and caused IE to render the text for the forum centered as well, and I had extra code that should not have been there and some which appears to have been in the wrong place.
I removed the extra tags, moved the JavaScript which preloaded the images for the mouse over further up into the start of the head, ensured the codes for installing the mouse over images were within the body, added the codes below to center the images,
“<table align="center" cellspacing="0" cellpadding="0" >
<tr>
<td>
(insert Mouse over codes)
</td>
</tr>
</table>”
And moved the cell spacing for Fudforum to the bottom of the header to ensure a crisp separation of the header and forum, while I was at it I added comments which should allow others to replicate it and or understand what was done.
Bottom line is it works, it is all my fault, and it is something I should have fixed long ago and probably would have had I been aware of the extent of it. So the moral is check your work in other browsers!
I am new to this so explain things very, very carefully!
|
|
|
|
Re: A problem with forum alignment. [message #38636 is a reply to message #38634] |
Mon, 20 August 2007 04:33 |
WITCH
Messages: 42 Registered: December 2006 Location: Illinois USA.
Karma: 0
|
Member |
|
|
Dustin Kowalski wrote on Sun, 19 August 2007 18:00 | Good man!
I happened to look over your HTML anyway about five minutes ago and was very impressed by how clearly it's set out. I think I could learn a lot from that.
|
Thank you!
It is out of necessity, and I could not do it without the examples and information available on the web, the mouseovers alone are compiled from ideas, tutors, and examples I accumulated from a dozen different sites, I just hunt and pecked it together.
You have already incorporated some things on your forum that I am just experimenting with now. But hopefully I will get better at it and come up with something really novel.
I am new to this so explain things very, very carefully!
|
|
|