Jump to content


Need some alignment help!


3 replies to this topic

#1 hamishmcgee

    Young Padawan

  • Members
  • Pip
  • 6 posts

Posted 09 February 2006 - 02:25 PM

Clicky!

Ok, as you can see, my splash page is in a bit of a mess. I'm having trouble aligning the images to make it look like this. Can anyone do this for me? If so, thanks a lot in advance!

BTW - There should be a 297px margin at the top for the images to be in the right place, thanks.

#2 jhaygamba

    Young Padawan

  • Members
  • Pip
  • 51 posts
  • Gender:Male
  • Location:Cainta, Rizal

Posted 09 February 2006 - 02:55 PM


Hmm.. based on my observation Why dont you make a whole image (Photoshop) then use Slice tool on "Website" and "Forum" spot. Or you can use hotspot tool on Dreamweaver.



#3 Lang

    Young Padawan

  • Members
  • Pip
  • 198 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 09 February 2006 - 03:09 PM

Make a big table, with a height of 100%.

Then make 3 cells. One cell (the middle) will have your height of your logo

the bottom cell make it like 20%, and have the top cell automatically choose a height, which should give you your desired effect.

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 09 February 2006 - 04:20 PM

Heh, i know what's wrong... about missed it myself.
img1{
margin: 0px;
padding: 0px;
float: left;
width: 675px;
}
According to that, your trying to style the <img1> tag, not <div id="img1">. You need to add a "#" before img1 (i.e. #img1) for it to affect the right element (same thing goes for just about everything else in your css).

If you're confused, you should be able to google "css selectors" and find some good info on how to use the various types.

Edited by rc69, 09 February 2006 - 04:20 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users