Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-08-2007, 09:10 AM   #1
bryc
Confirmed User
 
Join Date: Apr 2001
Posts: 102
can anyone help? css?

I was looking at this page:

http://www.cnn.com/2007/US/01/08/ny.....ap/index.html

Does anyone know how to create a box (with the text ingrained in it) like the one on the bottom left that says "ADVERTISER LINKS" on it. Is that done with css?

Thanks in advance.
bryc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2007, 09:14 AM   #2
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
The text is in a separate layer and that layer uses margins to position as you see it.
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2007, 09:25 AM   #3
bryc
Confirmed User
 
Join Date: Apr 2001
Posts: 102
Thanks for the reply! Do you happen to know where I can learn to create this? I'm a noob with css and have no knowledge of "margins" or "layers".
bryc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2007, 09:35 AM   #4
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
You'd usually define this in your stylesheet, but this code might help you understand how it works:

Code:
<div style="border:1px solid black; width:300px;height:200px " class"box">
<div style="font-size:16pt; font-weight:200; text-align:center; margin-top:-10px; background:white; position:absolute; left: 79px; width: 160px;">this is the title here</div>
  <p>this is</p>
  <p>just</p>
  <p>a box</p>
  <p>&nbsp;</p>
</div>
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2007, 09:38 AM   #5
martinsc
Too lazy to set a custom title
 
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
Quote:
Originally Posted by bryc View Post
Thanks for the reply! Do you happen to know where I can learn to create this? I'm a noob with css and have no knowledge of "margins" or "layers".
http://dev.fyicenter.com/faq/css/css...troduction.php
__________________
Make Money
martinsc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-08-2007, 11:37 AM   #6
bryc
Confirmed User
 
Join Date: Apr 2001
Posts: 102
Thanks guys for the help and info! I appreciate it!
bryc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.