HTML Help


zacaj

void main()
Joined
Apr 3, 2007
Messages
362
Age
30
Location
NY
Website
zacaj.com
Im not very good with HTML/PHP/etc, but my current (wordpress based) website looks a little bland with so few pictures, so I wanted to put edited screenshots from my games on the sides. I saw on http://www.escapistmagazine.com/ that they had pretty much what I wanted to do. If the sidebars dont scroll, just show a picture. How do you do that?
 
Im not very good with HTML/PHP/etc, but my current (wordpress based) website looks a little bland with so few pictures, so I wanted to put edited screenshots from my games on the sides. I saw on http://www.escapistmagazine.com/ that they had pretty much what I wanted to do. If the sidebars dont scroll, just show a picture. How do you do that?

If your on about the adverts on the left/right of the main page that sort of thing is easy to code in using css an image/s and a small amount of html.
 
Yes, thats it. I could probably find a tutorial on line if theres some official name for it or something...
 
Is there an option to have it not scroll? Mine scroll :( And how do you know how big the viewers monitor is?
 
IIRC, with CSS :



Code:
background-image:url("bgimage.jpg") ;

background-repeat : no-repeat; 

background-attachment:fixed ;

That way the image doesn't scroll and doesn't repeat.


You could use some DIVs, a main DIV that takes 100% of the screen size, then one aligned left and the other aligned right with the background you want.


Don't hate me if it doesn't work, my CSS is really rusty…
mellow.gif
 
Last edited by a moderator:
@OP Kodeln gave you all that's basically necessary. If you want to get further into this have a look at selfhtml.org and use its search engine considering images/backgrounds or websearch for CSS guides/tutorials. All the info's out there, you just need to have a look around.
 
Back
Top