Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
My page is on crack..
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DaLightz" data-source="post: 209168" data-attributes="member: 17436"><p>Yeah um, This is starting to annoy me..</p><p> </p><p><img src="http://i.imgur.com/h7KvDdc.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>I highlighted "me" next to yes. It should be at the top of the content box, and the whole word it "Welcome!"</p><p>I'm also having issues with making the boxes stay next to eachother. This is my first scratch design so <img src="/styles/default/xenforo/smilies/emojione/tongue.png" class="smilie" loading="lazy" alt=":p" title="Stick Out Tongue :p" data-shortname=":p" /></p><p> </p><p>Here's what I have:</p><p> </p><p>style.css</p><p>[PHP] body</p><p> body</p><p> {</p><p>background-image: url('bg.png');</p><p>margin: 0 auto;</p><p> }</p><p> </p><p> div#banner </p><p> { </p><p>background: #19A3D1 url('banner.png') no-repeat top left;</p><p>padding-top: 62px; </p><p> }</p><p> </p><p> /* Content boxes */</p><p> </p><p> #contentboxtitle</p><p> {</p><p> </p><p> height: 20px;</p><p> background: #19A3D1;</p><p> border: 2px solid #19A3D1;</p><p> border-bottom: none;</p><p> margin: 30px 5px 0px 270px;</p><p> </p><p> }</p><p> </p><p> #contentboxtitle h1</p><p> {</p><p> </p><p>color: white;</p><p>font-weight: bold;</p><p>font-family: Helvetica;</p><p>font-size: 1em;</p><p>margin: 0;</p><p>padding: 0;</p><p> </p><p> }</p><p> </p><p> </p><p> </p><p> #contentbox</p><p> {</p><p>background: #FFFFFF;</p><p>border-color: #19A3D1;</p><p>border-style: solid;</p><p>border-width: 2px;</p><p>margin-left: 270px;</p><p>margin-right: 5px;</p><p> }</p><p> </p><p> </p><p> /* Sidebar */</p><p> </p><p> #sidebartitle</p><p> {</p><p> </p><p>height: 20px;</p><p>background: #19A3D1;</p><p>border-color: #19A3D1;</p><p>border-style: solid;</p><p>border-width: 2px;</p><p>margin-top: 30px;</p><p>margin-left: 5px;</p><p>margin-right: 1100px;</p><p> </p><p> }</p><p> </p><p> #sidebartitle h1</p><p> {</p><p> </p><p>color: white;</p><p>font-weight: bold;</p><p>font-family: Helvetica;</p><p>font-size: 1em;</p><p>margin: 0;</p><p>padding: 0;</p><p>text-align: center;</p><p> </p><p> }</p><p> </p><p> </p><p> </p><p> #sidebar</p><p> {</p><p> </p><p>background: #FFFFFF;</p><p>border-bottom-color: #19A3D1;</p><p>border-color: #19A3D1;</p><p>border-style: solid;</p><p>border-width: 2px;</p><p>margin-left: 5px;</p><p>margin-right: 1100px;</p><p> }</p><p> </p><p> </p><p>[/PHP]</p><p> </p><p>And now index.php</p><p>[PHP]<!DOCTYPE html></p><p><html></p><p> <head></p><p> <title>Welcome to LiquidCCMS!</title></p><p> <link href="{url}/templates/default/style.css" type="text/css" rel="stylesheet" /></p><p> <div id="banner"></p><p> </div></p><p> </head></p><p> <body></p><p> <!-- Sidebar starts here. --></p><p> <div id="sidebartitle" style="float: left; width: 18%;"></p><p> <h1>Navigation</h1></p><p> </div></p><p> <div id="sidebar" style="float: left; width: 18%;"></p><p> <p></p><p> <ul></p><p> <li><a href="#">Home</a></li></p><p> <li><a href="#">Test</a></li></p><p> <li><a href="#">Test</a></li></p><p> <li><a href="#">Test</a></li></p><p> </ul></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p></p><p> </div></p><p> </p><p> <!-- Content box starts here. --></p><p> <div id="contentboxtitle" style="width: 75%;"></p><p> <h1 style="width: 70%">Welcome!</h1></p><p> </div></p><p> <div id="contentbox" style="width: 75%;"></p><p> <p>Yes.</p></p><p> </div></p><p> </body></p><p></html>[/PHP]</p></blockquote><p></p>
[QUOTE="DaLightz, post: 209168, member: 17436"] Yeah um, This is starting to annoy me.. [IMG]http://i.imgur.com/h7KvDdc.png[/IMG] I highlighted "me" next to yes. It should be at the top of the content box, and the whole word it "Welcome!" I'm also having issues with making the boxes stay next to eachother. This is my first scratch design so :p Here's what I have: style.css [PHP] body body { background-image: url('bg.png'); margin: 0 auto; } div#banner { background: #19A3D1 url('banner.png') no-repeat top left; padding-top: 62px; } /* Content boxes */ #contentboxtitle { height: 20px; background: #19A3D1; border: 2px solid #19A3D1; border-bottom: none; margin: 30px 5px 0px 270px; } #contentboxtitle h1 { color: white; font-weight: bold; font-family: Helvetica; font-size: 1em; margin: 0; padding: 0; } #contentbox { background: #FFFFFF; border-color: #19A3D1; border-style: solid; border-width: 2px; margin-left: 270px; margin-right: 5px; } /* Sidebar */ #sidebartitle { height: 20px; background: #19A3D1; border-color: #19A3D1; border-style: solid; border-width: 2px; margin-top: 30px; margin-left: 5px; margin-right: 1100px; } #sidebartitle h1 { color: white; font-weight: bold; font-family: Helvetica; font-size: 1em; margin: 0; padding: 0; text-align: center; } #sidebar { background: #FFFFFF; border-bottom-color: #19A3D1; border-color: #19A3D1; border-style: solid; border-width: 2px; margin-left: 5px; margin-right: 1100px; } [/PHP] And now index.php [PHP]<!DOCTYPE html> <html> <head> <title>Welcome to LiquidCCMS!</title> <link href="{url}/templates/default/style.css" type="text/css" rel="stylesheet" /> <div id="banner"> </div> </head> <body> <!-- Sidebar starts here. --> <div id="sidebartitle" style="float: left; width: 18%;"> <h1>Navigation</h1> </div> <div id="sidebar" style="float: left; width: 18%;"> <p> <ul> <li><a href="#">Home</a></li> <li><a href="#">Test</a></li> <li><a href="#">Test</a></li> <li><a href="#">Test</a></li> </ul> </p> </div> <!-- Content box starts here. --> <div id="contentboxtitle" style="width: 75%;"> <h1 style="width: 70%">Welcome!</h1> </div> <div id="contentbox" style="width: 75%;"> <p>Yes.</p> </div> </body> </html>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
My page is on crack..
Top