Saint_Michael
Nov 26 2007, 08:48 AM
Well I was bit off on the layout but the concept your going for was the same, but as for the widths you would have to set up individual styles to them in two different ways. Using trufusions example all you have to do is set up the CSS for Col1 Col2 Col3 which would look something like this: CODE ul.col1 li { width:35px } ul.col2 li { width:65px } ul.col3 li { width:100px } That way it would be universal and cute down on the work by doing them individually like this: CODE <li style="width: 65px;"> Content here</li> Either method is effective but the first options cuts down on the clutter in the html, and if you need to make changes on the fly you can just do it from one file instead of doing it over several files. Of course if you feel very adventurous you can set up your tables through ajax, this website gives quite a few examples of different table set ups that can be used.
Reply
sonesay
Jan 29 2008, 03:58 AM
Sorry to bump up an old thread but I've found a problem with IE7 and this solution. IE 7 does not support display:table-cell (one of manythings IE 7 really sucks at). The only way to get <li> elements displaying in the same line similar to the effect of display:table-cell solution in this post is display:inline; But there is still another problem in IE7. CODE li.col1 { width:120px;
The width class we have been using to give our widths dont work also. So you see IE 7 offically is the worse compliant broswer out there. I have no doubt I will find more features it does not support and it will continue to make life for us designing webpages as painful as possible. If anyone has a solution to the width spacing for 'display:inline;' method please share. edit: Ok I'm still looking for a suitable sultion that works in IE 7 but the only thing I know is tables now. I'm trying to test out if I can use more divs inside to structure it but with truefusions code it hides all div by default as you can see in the source code in the screen shot. I'm still not fimilar with how to modify it to not include the inner divs.
Reply
truefusion
Jan 30 2008, 02:01 PM
QUOTE(sonesay @ Jan 28 2008, 10:58 PM)  The width class we have been using to give our widths dont work also. So you see IE 7 offically is the worse compliant broswer out there. I have no doubt I will find more features it does not support and it will continue to make life for us designing webpages as painful as possible. If anyone has a solution to the width spacing for 'display:inline;' method please share. Width does not work with all inline-level elements. QUOTE(sonesay @ Jan 28 2008, 10:58 PM)  Ok I'm still looking for a suitable solution that works in IE 7 but the only thing I know is tables now. I'm trying to test out if I can use more divs inside to structure it but with truefusions code it hides all div by default as you can see in the source code in the screen shot. I'm still not fimilar with how to modify it to not include the inner divs. My code only hides the "inactive" ones by default, but i am unsure on what to tell you for the solution. If Internet Explorer lacks, then it lacks. You could try to persuade visitors to switching to a better browser. It's interesting that IE7, though it had a noticable improvement with CSS, lacks such an option. I am unsure of any IE CSS hacks (there may not be any) for this. I'm quite sure i can turn my tab script to use tables instead of divisions, even if it creates unnecessary clutter.
Reply
sonesay
Jan 30 2008, 06:34 PM
Thinking it over last night as I went to bed I think It would be much easier to use tables to structure the output. It will get clutered with tags but the upside is no futher tweaking of the CSS tabs would need to be done to accomodate the extra inner divs. Thanks for your input truefusion.
Reply
Recent Queries:--
align-text css - 44.04 hr back. (1)
-
css 3-column "unordered list" - 138.98 hr back. (1)
-
align-text in css - 182.58 hr back. (1)
Similar Topics
Keywords : align, text, column, tables, css, 3, column, alignment, tables, c
- Text Size Problem
(6)
Need Help On "global News" Problem.
Change paragraph of text with CSS style change? (7) I am making a website for my IT Support class and a program called "Cox Connects Kids" for my
mid-term assignment. Now I have the whole layout made and I will post a screen shot down lower. My
basic problem/question is this: I have a right section of the page(A div) and it is supposed to be
a global news part that shows the same on every page(I.e. home,contacts,help) and I was wondering if
I can somehow edit my CSS file to have it in there and just change it the one time for all the
pages. I am guessing there is some way to do this but I couldn't figure it out. I....
Css Alignment Bug
Moves my page when I click on a link (10) This is a bug I am really confused by and I hope I can get some help over here. I am in the midst
of creating my very own WordPress Theme for my site which involves full styling using CSS. I am
moving away from tables. I have a layout which is 770px in width (fixed), and I want to align it
to the center. Ideally, this is what I put in my CSS. CODE #wrapper { margin: 0 auto 0
auto; } This visually looks fine on my browser at first. But when I click on say, a post
permalink which will bring me to the view the entire post. The entire layout shifts to t....
Is It Possible To Align Text To The Center And Justify It?
Example inside! (6) Basically, I have a list (like shown below) but as you can see, some parts stick out more than
others, and it doesn't look ordered. What I wish to know is if it's possible to justify the
text so it's ordered, but also keep it in the centre, using CSS /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Although if another coding
language needs to be used, then that's ok /smile.gif" style="vertical-align:middle" emoid=":)"
border="0" alt="smile.gif" /> Example: Beginning with A Beginning with O Beginning with V Beginn....
How Can I Indent Text A Specified Amount
(every line, not just the first) (4) Hey all I'm working on several pages in HTML using external CSS formatting and i need a table
for navigation along the left hand side with links in it and i want the text to sit next to this
table to the right the entire length of the page even though the table will end, probably about half
way down. eg: QUOTE ____ ____| text text text ____| text text text ____| text text text ____|
text text text ------text text text ------text text text (the "-"'s are to add spacing as i
cant use multiple spaces. See how the text stays in line and doesn't rever....
Css Image Position Problem
align image left or right (1) I am having problems figuring out why my image will not align how I want it. Here , you can see
that the image is aligned to the left. This is the code for that block: CODE <a
href="http://img355.imageshack.us/img355/844/r25870774779uu.jpg"><img
src="http://img355.imageshack.us/img355/844/r25870774779uu.th.jpg" alt="bush
bathroom break note" align="left" style="margin-right:
5px;"></a>[text goes here] But if you go here , you can see that the
text does not stay to the right of....
Looking for align, text, column, tables, css, 3, column, alignment, tables, c
|
|
Searching Video's for align, text, column, tables, css, 3, column, alignment, tables, c
|
advertisement
|
|