Computer ForumsComputers  

Go Back   Computer Forums > The World Wide Web > Web Graphics, design, digital images

Reply
 
LinkBack Thread Tools Display Modes
Old 05-04-2008, 11:41 PM   #11 (permalink)
objecterror
Super Techie
 
objecterror's Avatar
 
Join Date: Jan 2006
Location: Las Vegas, Nevada
Posts: 349
Send a message via AIM to objecterror Send a message via Skype™ to objecterror
Default Re: New Layout

Truly amazing, works like a charm. Should I repeat the same code for every page that i create with different content?

I.E Art/Links/Etc? Or Should I use an Iframe?
objecterror is offline   Reply With Quote
Old 05-04-2008, 11:42 PM   #12 (permalink)
peterhuang913
Retired.
 
peterhuang913's Avatar
 
Join Date: Dec 2005
Location: Los Angeles, California
Posts: 8,148
Send a message via AIM to peterhuang913
Default Re: New Layout

That style works, so you should repeat it. Iframes mean you browse within the site right? IMO, repeating seems nicer.

Also, replace footer with: "All contents copyright © 2008, [your full name]. All rights reserved"
__________________


My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V.
"The spaces between your fingers were created so that another's could fill them in."
Quote:
Originally Posted by Norcent View Post
I need to stop using the internet.
peterhuang913 is offline   Reply With Quote
Old 05-04-2008, 11:44 PM   #13 (permalink)
objecterror
Super Techie
 
objecterror's Avatar
 
Join Date: Jan 2006
Location: Las Vegas, Nevada
Posts: 349
Send a message via AIM to objecterror Send a message via Skype™ to objecterror
Default Re: New Layout

Thanks a lot, Im sure you'll see me back in the next few weeks >_>
objecterror is offline   Reply With Quote
Old 05-04-2008, 11:49 PM   #14 (permalink)
peterhuang913
Retired.
 
peterhuang913's Avatar
 
Join Date: Dec 2005
Location: Los Angeles, California
Posts: 8,148
Send a message via AIM to peterhuang913
Default Re: New Layout

Change:

Code:
<h1><img src="Main.jpg" alt="" height="108" width="780"></h1>
to

Code:
<h1><a href="http://www.objecterror.mischiev0us.net/"><img src="Main.jpg" alt="" height="108" width="780" style="border-style: none"></a></h1>
__________________


My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V.
"The spaces between your fingers were created so that another's could fill them in."
Quote:
Originally Posted by Norcent View Post
I need to stop using the internet.
peterhuang913 is offline   Reply With Quote
Old 05-04-2008, 11:54 PM   #15 (permalink)
objecterror
Super Techie
 
objecterror's Avatar
 
Join Date: Jan 2006
Location: Las Vegas, Nevada
Posts: 349
Send a message via AIM to objecterror Send a message via Skype™ to objecterror
Default Re: New Layout

Updating as I type this, how do I constrain the text to the maincontent div, I noticed while putting in some text it leaves the grey box. As Seen here
objecterror is offline   Reply With Quote
Old 05-04-2008, 11:58 PM   #16 (permalink)
peterhuang913
Retired.
 
peterhuang913's Avatar
 
Join Date: Dec 2005
Location: Los Angeles, California
Posts: 8,148
Send a message via AIM to peterhuang913
Default Re: New Layout

New code, change whole page's code to new one:

Code:
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
/*<![CDATA[*/
 
<!-- 
body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        background: #000000;
        margin: 0;
        padding: 0;
        text-align: center; 
        color: #FFFFFF;
}
.twoColLiqLtHdr #container { 
        width: 60%;
        background: #333333;
        margin: 20px auto;
        border: 1px solid #000000;
        text-align: left;
} 
.twoColLiqLtHdr #header { 
        background: #000000; 
        padding: 0 10px;
} 
.twoColLiqLtHdr #header h1 {
        margin: 0; 
        padding: 10px 0; 
}
.twoColLiqLtHdr #sidebar1 {
        float: left; 
        width: 15%;
        padding: 0 0 10px;
        background: #000000; 
}
.twoColLiqLtHdr #sidebar1 h3, .twoColLiqLtHdr #sidebar1 p {
        margin-left: 10px; 
        margin-right: 10px;
}

.twoColLiqLtHdr #mainContent { 
        margin: 0 20px 0 8em; 
} 
.twoColLiqLtHdr #footer { 
        padding: 0 10px; 
        background:#000000;
} 
.twoColLiqLtHdr #footer p {
        margin: 0; 
        padding: 10px 0;
}
.fltrt { 
        float: right;
        margin-left: 8px;
}
.fltlft { 
        float: left;
        margin-right: 8px;
}
.clearfloat { 
        clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
--> 
/*]]>*/
</style>
<!--[if IE]>
<style type="text/css"> 

.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }

</style>
<![endif]-->
</head>
<body class="twoColLiqLtHdr">
<div id="container">
<div id="header">
<h1><img src="Main.jpg" alt="" height="108" width="780" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3><img src="Artwork_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Writing_tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="About_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Linkshell.jpg" alt="" height="32" width="103" /></h3>
<p><img src="Links_tab.jpg" alt="" height="32" width="103" /></p>
<p><img src="Contact_Tab.jpg" alt="" height="32" width="103" /></p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
</div>
<br class="clearfloat" />
<div id="footer">
<p>All contents copyright &copy; 2008, [Aaron Bailey]. All rights reserved</p>
<!-- end #container --></div>
<!-- end #footer --></div>
</body>
</html>
Final:
__________________


My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V.
"The spaces between your fingers were created so that another's could fill them in."
Quote:
Originally Posted by Norcent View Post
I need to stop using the internet.

Last edited by peterhuang913; 05-05-2008 at 12:18 AM.
peterhuang913 is offline   Reply With Quote
Old 05-05-2008, 12:16 AM   #17 (permalink)
objecterror
Super Techie
 
objecterror's Avatar
 
Join Date: Jan 2006
Location: Las Vegas, Nevada
Posts: 349
Send a message via AIM to objecterror Send a message via Skype™ to objecterror
Default Re: New Layout

Added the updated code to the link so you can check for yourself, text is wrapping excellently to the page.
objecterror is offline   Reply With Quote
Old 05-05-2008, 12:19 AM   #18 (permalink)
peterhuang913
Retired.
 
peterhuang913's Avatar
 
Join Date: Dec 2005
Location: Los Angeles, California
Posts: 8,148
Send a message via AIM to peterhuang913
Default Re: New Layout

I changed the code again.

Here:
Code:
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
/*<![CDATA[*/
 
<!-- 
body  {
        font: 100% Verdana, Arial, Helvetica, sans-serif;
        background: #000000;
        margin: 0;
        padding: 0;
        text-align: center; 
        color: #FFFFFF;
}
.twoColLiqLtHdr #container { 
        width: 60%;
        background: #333333;
        margin: 20px auto;
        border: 1px solid #000000;
        text-align: left;
} 
.twoColLiqLtHdr #header { 
        background: #000000; 
        padding: 0 10px;
} 
.twoColLiqLtHdr #header h1 {
        margin: 0; 
        padding: 10px 0; 
}
.twoColLiqLtHdr #sidebar1 {
        float: left; 
        width: 15%;
        padding: 0 0 5%;
        background: #000000; 
}
.twoColLiqLtHdr #sidebar1 h3, .twoColLiqLtHdr #sidebar1 p {
        margin-left: 10px; 
        margin-right: 10px;
}

.twoColLiqLtHdr #mainContent { 
        margin: 0 20px 0 8em; 
} 
.twoColLiqLtHdr #footer { 
        padding: 0 10px; 
        background:#000000;
} 
.twoColLiqLtHdr #footer p {
        margin: 0; 
        padding: 10px 0;
}
.fltrt { 
        float: right;
        margin-left: 8px;
}
.fltlft { 
        float: left;
        margin-right: 8px;
}
.clearfloat { 
        clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
--> 
/*]]>*/
</style>
<!--[if IE]>
<style type="text/css"> 

.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }

</style>
<![endif]-->
</head>
<body class="twoColLiqLtHdr">
<div id="container">
<div id="header">
<h1><img src="Main.jpg" alt="" height="108" width="780" /></h1>
<!-- end #header --></div>
<div id="sidebar1">
<h3><img src="Artwork_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Writing_tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="About_Tab.jpg" alt="" height="32" width="103" /></h3>
<h3><img src="Linkshell.jpg" alt="" height="32" width="103" /></h3>
<p><img src="Links_tab.jpg" alt="" height="32" width="103" /></p>
<p><img src="Contact_Tab.jpg" alt="" height="32" width="103" /></p>
<!-- end #sidebar1 --></div>
<div id="mainContent">
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium 

doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi 

architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur 

aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. 

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia 

non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
<p>anything this is a test Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium 

doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi 

architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur 

aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. 

Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia 

non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.</p>
</div>
<!-- end #container --></div>
<div id="footer">
<p>All contents copyright &copy; 2008, [Aaron Bailey]. All rights reserved</p>
<!-- end #footer --></div>
</body>
</html>
__________________


My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V.
"The spaces between your fingers were created so that another's could fill them in."
Quote:
Originally Posted by Norcent View Post
I need to stop using the internet.

Last edited by peterhuang913; 05-05-2008 at 12:30 AM.
peterhuang913 is offline   Reply With Quote
Old 05-05-2008, 12:38 AM   #19 (permalink)
objecterror
Super Techie
 
objecterror's Avatar
 
Join Date: Jan 2006
Location: Las Vegas, Nevada
Posts: 349
Send a message via AIM to objecterror Send a message via Skype™ to objecterror
Default Re: New Layout

Updated here you go.
objecterror is offline   Reply With Quote
Old 05-05-2008, 12:40 AM   #20 (permalink)
peterhuang913
Retired.
 
peterhuang913's Avatar
 
Join Date: Dec 2005
Location: Los Angeles, California
Posts: 8,148
Send a message via AIM to peterhuang913
Default Re: New Layout

Now to work on the left sidebar's height problem.
__________________


My computer uses 1.5A-load, .8A-idle, .65A-standby, .05A-turned off on 125V.
"The spaces between your fingers were created so that another's could fill them in."
Quote:
Originally Posted by Norcent View Post
I need to stop using the internet.
peterhuang913 is offline   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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Case layout Apokalipse Overclocking, Case Mod, Tweaking PC Performance 151 12-16-2007 10:23 PM
New Layout GuitarFreak1857 Overclocking, Case Mod, Tweaking PC Performance 15 11-07-2007 07:29 AM
Myspace Tags/Class IDs Death Row Web Graphics, design, digital images 6 08-24-2007 03:52 AM


All times are GMT. The time now is 10:36 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8