![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Guest
Posts: n/a
|
![]() I noticed in a few designs, making elements have rounded corners on say an h1 tag instead of square corners like adding borders do. They style the h1 tag to have a rounded corner image infront of the content, and then style a span tag to have a rounded corner image behind the content and then just do <h1><span>something</span></h1>.
Tip: Use the :before and :after pseudo-elements on the h1 tag with the content attribute to do it all in 1 tag. http://www.quirksmode.org/css/content.html Read that page, and figure it out, will make much cleaner code and less markup in the long run. |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
damn them round corners
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,331
|
thanks...cleaning up some code now...
__________________
ISeekGirls.com since 2005 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Guest
Posts: n/a
|
I know right, seriously, this tip is golden for those who don't know A LOT about CSS but do their own shit.
I have been doing my own CSS designs for a while and I use the :after and content: in my clearfix class but never really know what they did because I got it from free design. |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
why not just do your rounded corners with border-radius?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Guest
Posts: n/a
|
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
it's probably only a matter of time. i thought i read not long that webkit was being pushed for acceptance as a standard for css. i don't see why they wouldn't accept it as standard code and get all browsers on board with it. provides so many easy options for design.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
So Fucking Banned
Join Date: Jan 2009
Posts: 2,377
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
|
I guess you missed this part of the article...
Quote:
__________________
subarus. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Guest
Posts: n/a
|
Quote:
That's to put actual content, not like using the url() attribute, they even use it in the EXAMPLE of using it. |
|
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2002
Posts: 34,431
|
because more than half the surfers out there are't using browsers that recognize border-radius
CSS hacks like the one the thread starter are why I laugh at the CSS vs Table debate
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
|
![]() |
![]() ![]() ![]() ![]() ![]() |