GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   can anyone help? css? (https://gfy.com/showthread.php?t=693913)

bryc 01-08-2007 09:10 AM

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.

who 01-08-2007 09:14 AM

The text is in a separate layer and that layer uses margins to position as you see it.

bryc 01-08-2007 09:25 AM

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".

who 01-08-2007 09:35 AM

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>


martinsc 01-08-2007 09:38 AM

Quote:

Originally Posted by bryc (Post 11685730)
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

bryc 01-08-2007 11:37 AM

Thanks guys for the help and info! I appreciate it!


All times are GMT -7. The time now is 03:50 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123