PDA

View Full Version : Can you do this?



krissyafc
Aug 12th, 2007, 04:59 PM
Hey, i need some help!

Can anyone add a block of white to this html. In the center of the page and rounded edges so i can add text to it and you can see it easly?

Heres the html,


<html>
<head>
<title>***************</title>
<meta content="none" name="none">
</head>

<body background="http://img248.imageshack.us/img248/3199/backgroundta1.gif">
<div style="POSITION: absolute"></div>
</body>
</html>Thanks in advance?

effpeetee
Aug 13th, 2007, 03:01 PM
Not at all easy. You could try here and also Google it.

http://www.html.it/articoli/nifty/index.html

Frank

ahallicks
Aug 13th, 2007, 04:22 PM
Here's a nice rounded corners (http://www.html.it/articoli/nifty/index.html) tutorial that works really well. As for centering, wrap it in an id, give it a width and margin: auto;.


For an example... go here (http://www.privateairmanagement.com/test) and click on the iFrame Modal Test link

effpeetee
Aug 13th, 2007, 05:10 PM
Is it possible to use this (Nifty) with an image.
www.exitfegs.co.uk
Say the index page of this my site.

Frank

ahallicks
Aug 13th, 2007, 05:30 PM
Yeah, theoretically you can put anything you want inside the content section of the rounded corners styling. I use it on mine to highlight forms etc. It can be a little tricky to set up completely as the site doesn't have a proper walk-through... but yeah, you could place it around that image without too much of a problem.


Here you go Frank... Rounded Corners (http://www.privateairmanagement.com/test) around one of your images. Just click on the link at the bottom, "An Image With A Rounded Corner Background"

effpeetee
Aug 13th, 2007, 06:51 PM
It crashes my IE7 but is OK with Firefox.

I'll have ago at using it. Nothing to lose except my patience.
I have to switch the User account control (Vista) OFF.
It won't let me save my own files!
"Nil Desperandum" and all that rubbish. I'm sure I'll need the Forum for this.

Frank