|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 6,821 Joined: 21-September 04 From: 9r33|\| 399$ 4|\|D 5P4/\/\ Member No.: 1,218 ![]() myCENT:47.60 |
Post
#11
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. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Post
#12
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. [codebox] li.col1 { width:120px; [/codebox] 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. This post has been edited by sonesay: Jan 30 2008, 10:48 AM
Attached File(s)
|
![]() Group: [MODERATOR]
Posts: 1,998 Joined: 22-June 05 From: somewhere... Where am i? Member No.: 8,528 myCENT:66.56 |
Post
#13
Jan 30 2008, 02:01 PM
QUOTE(sonesay @ Jan 28 2008, 10:58 PM) [snapback]370885[/snapback] 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) [snapback]370885[/snapback] 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. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Post
#14
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. |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
4 | noxit | 486 | 19th June 2004 - 05:45 PM Last post by: OpaQue |
|||
![]() |
3 | Plenoptic | 509 | 17th July 2006 - 12:06 PM Last post by: Plenoptic |
|||
![]() |
6 | Dagoth Nereviar | 1,060 | 11th March 2007 - 11:38 PM Last post by: jlhaslip |
|||
![]() |
1 | holyium | 478 | 2nd September 2004 - 11:50 PM Last post by: football123213 |
|||
![]() |
3 | deedee2003 | 1,075 | 12th September 2004 - 07:35 PM Last post by: NeXDesigns |
|||
![]() |
0 | deedee2003 | 412 | 5th September 2004 - 09:11 PM Last post by: deedee2003 |
|||
![]() |
4 | electriic ink | 547 | 25th July 2006 - 07:28 PM Last post by: electriic ink |
|||
![]() |
7 | -Cooper_NFFC- | 436 | 11th October 2004 - 05:52 AM Last post by: ashiezai |
|||
![]() |
4 | hansley | 411 | 6th November 2004 - 11:03 PM Last post by: ronin |
|||
![]() |
10 | serverph | 751 | 15th July 2007 - 12:47 AM Last post by: homespeaker |
|||
![]() |
0 | ZPGames | 302 | 20th July 2006 - 07:36 AM Last post by: ZPGames |
|||
![]() |
1 | Vikash | 630 | 25th November 2004 - 04:29 PM Last post by: serverph |
|||
![]() |
5 | mirage | 1,833 | 14th November 2005 - 12:54 AM Last post by: azoundria |
|||
![]() |
2 | lloydg | 1,151 | 5th August 2007 - 09:55 PM Last post by: dre |
|||
![]() |
8 | kvarnerexpress | 1,004 | 19th October 2005 - 01:00 AM Last post by: dul |
|||
|
Lo-Fi Version | Time is now: 5th December 2008 - 04:17 PM |