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.
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 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.
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:
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:
but it is not working.
Code:
<img src="gba.jpg" align="center" />
but it is not working.
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).
Visit my site at http://nerdyproductions.sobertillnoon.com
PokéGen on Sourceforge:
http://www.sourceforge.net/projects/pokegen
ticalc profile
PokéGen on Sourceforge:
http://www.sourceforge.net/projects/pokegen
ticalc profile
Need any more help with http://beta.rivereye.net ? How's that coming?
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
» Go to Registration page
» Goto page Previous 1, 2, 3, 4, 5, 6 Next
» View previous topic :: View next topic
» 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
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