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 07-31-2008, 09:05 AM   #1
Klen
 
Klen's Avatar
 
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.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:07 AM   #2
Iron Fist
Too lazy to set a custom title
 
Join Date: Dec 2006
Posts: 23,400
Good luck
__________________
i like waffles
Iron Fist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:09 AM   #3
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
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.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:09 AM   #4
Deej
I make pixels work
 
Deej's Avatar
 
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...
__________________

Deej's Designs n' What Not
Hit me up for Design, CSS & Photo Retouching


Icq#30096880
Deej is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:10 AM   #5
MetaMan
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>
MetaMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:11 AM   #6
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Deej View Post
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...
I tried that in third example but it doesnt work for some reason
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:14 AM   #7
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by MetaMan View Post
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>
In that example is requied to repeat <div class> on each img code and i want to avoid that.I did managed somehow to have just one call to div class for entire block of images i just dont why it's gone later when i clicked again on preview
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 09:16 AM   #8
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by GrouchyAdmin View Post
I looked at the first two, then clicked on the third, but couldn't be bothered to click the 'View Source' button. Sorry.
Here is content of css files:
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
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:02 PM   #9
Klen
 
Klen's Avatar
 
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 ;}
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:11 PM   #10
digifan
The Profiler
 
digifan's Avatar
 
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.
__________________
[email protected]
Webair Rocks
digifan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:15 PM   #11
klaze
So Fucking Banned
 
Join Date: May 2008
Location: Adult Marketing Mecca
Posts: 2,167
Quote:
Originally Posted by KlenTelaris View Post
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 ;}
It's your inability to clearly ask a question.
klaze is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:17 PM   #12
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by klaze View Post
It's your inability to clearly ask a question.
Well here i didnt but on that mainstream webmaster board i clearly asked how to dissalow img tag
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:19 PM   #13
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by digifan View Post
Nice pages and cars, why changing them? They look good.
I puted those cars just for example so i can demonstrate problem on mainstream webmaster board,they dont like adult staff there.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:23 PM   #14
yahoo-xxx-girls.com
Confirmed User
 
yahoo-xxx-girls.com's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 3,143
Quote:
Originally Posted by KlenTelaris View Post
I puted those cars just for example so i can demonstrate problem on mainstream webmaster board,they dont like adult staff there.
Yea... I can understand.

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
yahoo-xxx-girls.com is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:26 PM   #15
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Balalsubturfyooj View Post
Yea... I can understand.

Are you just trying to place a css border or are you also trying to place a background image behind the foreground picture?
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%
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-31-2008, 01:33 PM   #16
yahoo-xxx-girls.com
Confirmed User
 
yahoo-xxx-girls.com's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 3,143
try:

td {border-style: solid;}

or perhaps

body {border-style: solid;}
__________________
sig too big

Last edited by yahoo-xxx-girls.com; 07-31-2008 at 01:34 PM..
yahoo-xxx-girls.com 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.