Author Topic: How to resize border in HTML/CSS and center images?  (Read 3275 times)

Change
p.solid{
      border-style:solid;
      border-color:#0000FF;
}

to

p.solid{
      border: 1px solid #0000FF;
}

Quote
<p class="solid">
      <center>
         <a id="intro">Forum</a>
         <a id="intro">News</a>
         <a id="intro">About</a>
      </center>
      </p>

puts the border above my text?

Here's what actually happens. (The border above the "Forums"/"About" is stuck above it, the border below it is for it containing the inner part).

Everything else in the style is the same

Code: [Select]
<body>
<p class="solid">
<img src="http://toontownrevolution.com/img/header.png" width="400" height="200" id="header-image" />
<p class="solid">
<center>
<a id="intro">Forum</a>
<a id="intro">News</a>
<a id="intro">About</a>
</center>
</p>
</p>
<p class="solid">
<div class="left"><center>Video of the day</center></div>
<div class="right"><center>News</center></div>
</p>
</body>

also, sorry for asking too many questions

« Last Edit: November 25, 2013, 05:57:54 PM by Electro »

You should have it in a div instead.

You should have it in a div instead.

i don't see what you mean.

instead of putting the left and right floats in a paragraph, put them in divs.
and change the p.solid to just .solid.

instead of putting the left and right floats in a paragraph, put them in divs.
and change the p.solid to just .solid.

isn't it already set to divs?

anyways, how would i move the boxes? they seem to be too high.

Sorry for bump, but how do I make a border move without expanding invisibleness (?) My border to the right of that is moving down from it.

reverse engineering simple sites with the style you want is a great idea

reverse engineering simple sites with the style you want is a great idea

I can't find any websites with the designs I like.

I'm just going to keep bumping this because it's stupid to make a new thread.

Anyways, I'm trying to make a php form to sign up for alpha for a game. How would I use the "Submit" button to send this stuff to me?