HighDots Forums  

Table-based layout to CSS layout

alt.html alt.html


Discuss Table-based layout to CSS layout in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Guybrush Threepwood
 
Posts: n/a

Default Table-based layout to CSS layout - 06-05-2006 , 09:43 PM






I'm practicing my CSS skills and tried to make a
layout like http://www.openal.org/ without using tables. I can't seem
to get it completely right. Any hints on how to tackle this problem?

--
"Don't worry about people stealing your ideas. If your ideas are any
good, you'll have to ram them down people's throats."
-- Howard Aiken


Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-05-2006 , 11:35 PM






In article <pan.2006.06.06.01.43.48.887870 (AT) hotmail (DOT) com>,
Guybrush Threepwood <spambak (AT) hotmail (DOT) com> wrote:

Quote:
'm practicing my CSS skills and tried to make a
layout like http://www.openal.org/ without using tables. I can't seem
to get it completely right. Any hints on how to tackle this problem?
perhaps the url to the "not completely right" markup. Easier for
others to correct some things sometimes than start from scratch...

--
dorayme


Reply With Quote
  #3  
Old   
oldwetdog
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 12:19 AM



Guybrush Threepwood wrote:
Quote:
I'm practicing my CSS skills and tried to make a
layout like http://www.openal.org/ without using tables. I can't seem
to get it completely right. Any hints on how to tackle this problem?

I thought I'd try to create something that looks like your sample --


quick, down and dirty


<body style="margin: 0;">
<div>

<div style="width: 100%; height: 186px; background: #FFFCCC;">

<div style="float: left; width: 17%; height: 186px;
background: #7F7F7F; padding: 1em;">
<H1 style="color: #FFFCCC;">TOP<BR>RIGHT</H1>
</div>

<div style="width: 83%; background: #FFFcCC; float: right;
clear: left; height: 186px;">
<P STYLE="MARGIN: 2EM;">This is the content on the top right</P>
</div>

</div>

<div style="width: 17%; height: 600px; background: #FFFCCC;
float: left;">
<H2 style="text-align: center; padding-top: 9em;">left
<br>verticle</H2>
</div>

<div style="width: 83%; height: 600px; background: #B7B78c;
float: right; clear: left;">
<p style="margin: 18em;">This is the content on the bottom
right</P>
</div>

</div>

</body>





Reply With Quote
  #4  
Old   
dorayme
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 12:27 AM



In article <128a0ivk4n26mfa (AT) corp (DOT) supernews.com>,
oldwetdog <oldwetdog@googleD0Tnet> wrote:

Quote:
Guybrush Threepwood wrote:
I'm practicing my CSS skills and tried to make a
layout like http://www.openal.org/ without using tables. I can't seem
to get it completely right. Any hints on how to tackle this problem?


I thought I'd try to create something that looks like your sample --


quick, down and dirty


body style="margin: 0;"
div

div style="width: 100%; height: 186px; background: #FFFCCC;"

div style="float: left; width: 17%; height: 186px;
background: #7F7F7F; padding: 1em;"
H1 style="color: #FFFCCC;">TOP<BR>RIGHT</H1
/div

div style="width: 83%; background: #FFFcCC; float: right;
clear: left; height: 186px;"
P STYLE="MARGIN: 2EM;">This is the content on the top right</P
/div

/div

div style="width: 17%; height: 600px; background: #FFFCCC;
float: left;"
H2 style="text-align: center; padding-top: 9em;">left
br>verticle</H2
/div

div style="width: 83%; height: 600px; background: #B7B78c;
float: right; clear: left;"
p style="margin: 18em;">This is the content on the bottom
right</P
/div

/div

/body
Not the best in Safari...

--
dorayme


Reply With Quote
  #5  
Old   
oldwetdog
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 12:37 AM



oldwetdog wrote:
Quote:
Guybrush Threepwood wrote:
I'm practicing my CSS skills and tried to make a
layout like http://www.openal.org/ without using tables. I can't seem
to get it completely right. Any hints on how to tackle this problem?


I thought I'd try to create something that looks like your sample --


quick, down and dirty


:-)
and don'tcha know if i'd taken another minute to read before I
hit the send button, I mighta noticed the owies...

<body style="margin: 0;">

<div>
<div style="width: 100%; height: 86px; background: #FFFCCC;">
<div style="float: left; width: 15%; height: 86px;
background: #7F7F7F; padding: 1em;">
<H1 style="color: #FFFCCC;">TOP<BR>LEFT</H1>
</div>
<div style="width: 83%; background: #FFFcCC; float: right;
clear: left; height: 86px;">
<P STYLE="MARGIN: 2EM;">This is the content on the top
right</P>
</div>
</div>

<div style="width: 15%; height: 600px; background: #FFFCCC;
float: left;">
<H2 style="text-align: center; padding-top: 9em;">left
<br>verticle</H2>
</div>

<div style="width: 85%; height: 600px; background: #B7B78c;
float: right; clear: left;">
<p style="margin: 18em;">This is the content on the bottom
right</P>
</div>
</div>

</body>


Oh, well....




Reply With Quote
  #6  
Old   
oldwetdog
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 01:04 AM



dorayme wrote:
Quote:
In article <128a0ivk4n26mfa (AT) corp (DOT) supernews.com>,
oldwetdog <oldwetdog@googleD0Tnet> wrote:

Guybrush Threepwood wrote:
I'm practicing my CSS skills and tried to make a
layout like http://www.openal.org/ without using tables. I can't seem
to get it completely right. Any hints on how to tackle this problem?

I thought I'd try to create something that looks like your sample --


quick, down and dirty


body style="margin: 0;"
div

div style="width: 100%; height: 186px; background: #FFFCCC;"

div style="float: left; width: 17%; height: 186px;
background: #7F7F7F; padding: 1em;"
H1 style="color: #FFFCCC;">TOP<BR>RIGHT</H1
/div

div style="width: 83%; background: #FFFcCC; float: right;
clear: left; height: 186px;"
P STYLE="MARGIN: 2EM;">This is the content on the top right</P
/div

/div

div style="width: 17%; height: 600px; background: #FFFCCC;
float: left;"
H2 style="text-align: center; padding-top: 9em;">left
br>verticle</H2
/div

div style="width: 83%; height: 600px; background: #B7B78c;
float: right; clear: left;"
p style="margin: 18em;">This is the content on the bottom
right</P
/div

/div

/body

Not the best in Safari...

thanks, I didn't try it in anything but an imitation of IE ...




Reply With Quote
  #7  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 01:09 AM



Deciding to do something for the good of humanity, Guybrush Threepwood
<spambak (AT) hotmail (DOT) com> declared in alt.html:

Quote:
Any hints on how to tackle this problem?
Something like this:
http://clarkecomputers.com.au/usenet/OpenAL.html

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html


Reply With Quote
  #8  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 01:19 AM



Deciding to do something for the good of humanity, Mark Parnell
<webmaster (AT) clarkecomputers (DOT) com.au> declared in alt.html:

Forgot to mention - tested and works in FF 1.5, IE 6 and Opera 8.5.

No doubt dorayme will test it in Safari for me. :-)

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html


Reply With Quote
  #9  
Old   
dorayme
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 01:20 AM



In article <29sxcmeerc1r.dlg (AT) markparnell (DOT) com.au>,
Mark Parnell <webmaster (AT) clarkecomputers (DOT) com.au> wrote:

Quote:
Deciding to do something for the good of humanity, Guybrush Threepwood
spambak (AT) hotmail (DOT) com> declared in alt.html:

Any hints on how to tackle this problem?

Something like this:
http://clarkecomputers.com.au/usenet/OpenAL.html
nice work.

--
dorayme


Reply With Quote
  #10  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Table-based layout to CSS layout - 06-06-2006 , 01:21 AM



Deciding to do something for the good of humanity, dorayme
<doraymeRidThis (AT) optusnet (DOT) com.au> declared in alt.html:

Quote:
Easier for
others to correct some things sometimes than start from scratch...
O ye of little faith...

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.