My Eyes! It's so bright! (And yes, you can do it with divs.)
Ugh, way too orange. Try using divs with proper CSS instead of tables for formatting; that way it will be much easier to change color schemes, and you can have much mor econtrol over your pages. Not to mention that you will have much more compliant code.
how exactly does the div command work. i did not see a tutorial for it on w3schools.
Div? It's only the single most important component of the new Strict formatting. Try http://en.wikipedia.org/wiki/div
i read over that and it explained what it was. but how would i go about using it. i tried to use it but it cut my page horizontally and not vertically like i wanted.
You have to do <div class="..."> and define that CSS div class in order to do fancier div positioning.
alright i will try and experiment with that latter today
alright i updated my site using div and it can be found at same spot as above. and i was wondering if i did not specify a height in the css will it just keep adding on to what i have. and i wanted some personal opinions about the links at the top under the name. should i leave it as table or make it using div also.
Correct. Failing to specify the height will allow it to grow.
i am trying to make a code site and so under one of the sections i am working on i am trying to create links to link to the name below. but for some reason i cant get the code to work. i am doing:j


Code:

<html>
<head>
<title>Crazedragon|Gba Codes</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<?php include("header.php"); ?>
<div class="class1">
<h1 class="center">Gameboy Advance Codes</h1>
<p class="green">Welcome to our archive of GBA codes. Click a letter to jump to that section.</p>
<a class="link" href="#A">A</a>
<a class="link" href="#B">B</a>
<a class="link" href="#C">C</a>
<a class="link" href="#D">D</a>
<a class="link" href="#E">E</a>
<a class="link" href="#F">F</a>
<a class="link" href="#G">G</a>
<a class="link" href="#H">H</a>
<a class="link" href="#I">I</a>
<a class="link" href="#J">J</a>
<a class="link" href="#K">K</a>
<a class="link" href="#L">L</a>
<a class="link" href="#M">M</a>
<a class="link" href="#N">N</a>
<a class="link" href="#O">O</a>
<a class="link" href="#P">P</a>
<a class="link" href="#Q">Q</a>
<a class="link" href="#R">R</a>
<a class="link" href="#S">S</a>
<a class="link" href="#T">T</a>
<a class="link" href="#U">U</a>
<a class="link" href="#V">V</a>
<a class="link" href="#W">W</a>
<a class="link" href="#X">X</a>
<a class="link" href="#Y">Y</a>
<a class="link" href="#Z">Z</a>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<p class="green" align="center"><a name="A">A</a></p>
</div>
</body>
</html>
how would i center an image. i am doing


Code:

<img src="gba.jpg" align="center" />


but it is not working.
<div style="align:center;"><img..... /></div>
i tried that and it still did not work
KermMartian wrote:
<div style="align:center;"><img..... /></div>

"align" doesn't work 100% in Firefox. It might have to be text-align anyway. I have it on my site, but stuff still shifts to one side (though it (oddly) displays right in IE).
Yeah, try also adding a text-align: center; attribute to that, lafferjm.
it worked. thanks.
Superb. Huh, I'm starting to quite like that way your page is looking.
yeah, coming along nicely here.
Need any more help with http://beta.rivereye.net ? How's that coming?
slowly right now. Been busy.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
» Goto page Previous  1, 2, 3, 4, 5, 6  Next
» View previous topic :: View next topic  
Page 5 of 6
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement