|
|
|
||||
|
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 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
A small CSS issue
I trying to get a less is possible requied lines to get border on img with using css but my third attemp to make it properly didnt work good.
I made 3 examples of css in action and 3-third one is totaly messed. http://frajkt.com/cars/css1.html http://frajkt.com/cars/css2.html http://frajkt.com/cars/css3.html First one is implement of td tag,which is good but it requires repeating of td tag which is bad,second one is implementation of img tag which is good but bad if you dont want border on certain images and third one is calling tag one which contain border setting but for some reason it shows big border on first image and on other images shows one big border and it should be border on every image.When i tried that code first time it worked but then sudenly it stopped working. |
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Good luck
__________________
i like waffles |
|
|
|
|
|
#3 |
|
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
I looked at the first two, then clicked on the third, but couldn't be bothered to click the 'View Source' button. Sorry.
__________________
|
|
|
|
|
|
#4 |
|
I make pixels work
Industry Role:
Join Date: Jun 2005
Location: I live here...
Posts: 24,386
|
well your first mistake is using css in tables...
just make it all divisions... and assign the divisions to have your border and padding and spacing...
__________________
|
|
|
|
|
|
#5 |
|
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
why not do this?
.outer { background: #000000; padding: 5px; border: 2px solid #ffffff; float:left; } .imagenigga { border: 2px solid #ffffff; } <div class="outer"><img src="images.jpg" class="imagenigga"></div> <div class="outer"><img src="images.jpg" class="imagenigga"></div> <div class="outer"><img src="images.jpg" class="imagenigga"></div> <div class="outer"><img src="images.jpg" class="imagenigga"></div> |
|
|
|
|
|
#6 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
|
|
|
|
|
#7 | |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
one.css: http://frajkt.com/cars/one.css two.css: http://frajkt.com/cars/two.css three.css http://frajkt.com/cars/three.css css1.html includes one.css, css2.html includes two.css and css3.html includes three.css |
|
|
|
|
|
|
#9 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Damn,after 12 hours spended on searching for proper solution finaly some guy from one mainstream webmaster board give me proper reply after maybe 20 replies in that thread.One of replies was even to do borders in photoshop.
In shortly this is needed to add to css file to ignore img tag for border: .noborder {border:0 ;} |
|
|
|
|
|
#10 |
|
The Profiler
Industry Role:
Join Date: Oct 2002
Location: ICQ 76281726 and I'm female
Posts: 14,618
|
Nice pages and cars, why changing them? They look good.
|
|
|
|
|
|
#11 | |
|
So Fucking Banned
Join Date: May 2008
Location: Adult Marketing Mecca
Posts: 2,167
|
Quote:
|
|
|
|
|
|
|
#12 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
|
|
|
|
|
#13 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
|
|
|
|
|
#14 | |
|
Confirmed User
Join Date: Jul 2006
Location: Canada
Posts: 3,143
|
Quote:
Are you just trying to place a css border or are you also trying to place a background image behind the foreground picture?
__________________
sig too big |
|
|
|
|
|
|
#15 |
|
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
I just wanted to automaticly put border on most of images with one line and to have code which will prevent to not have border on image where i dont wanna border.This will reduce present html code for 30%
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Jul 2006
Location: Canada
Posts: 3,143
|
try:
td {border-style: solid;} or perhaps body {border-style: solid;}
__________________
sig too big |
|
|
|