Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 8:38 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ]  Bookmark and Share
Author Message
 Post subject: How to change how a link looks
PostPosted: Wed Apr 23, 2008 7:27 pm 
Offline
100+ Club

Joined: Mon Mar 19, 2007 5:40 pm
Posts: 143
Location: Atlantic City, NJ
I have a div id called #clickLeft it make a box with a boarder and has some writing in it. I want to make the whole box click able and send it to another page. But the problem I am having is that it changes the wording color. I want to keep the words the same color. how do I accomplish this.

_________________
Jason
www.snscasinotours.com


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 24, 2008 3:34 am 
Offline
500+ Club
User avatar

Joined: Wed Feb 27, 2008 6:14 am
Posts: 929
Location: Cebu City Philippines
Have you placed that element inside the anchors? (<a>)???...if so,
then adding border:0; in your CSS will fix this for you ;)

_________________
~ Get me some work, I do freelancing ~


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 19, 2008 11:37 pm 
Offline

Joined: Sun Jun 08, 2008 6:12 pm
Posts: 9
Hi everybody,

i'm having similar prb, in particular i have a jpg image inside a div tag that links to a link.
When i see my page on every browser the border of the jpg is blu.
I don't want that to happen, i'd prefer the border to remain trasparent.
I've just added the css code to set the border to 0 but it didn't work.
Does anyone know how to fix this prb?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 1:01 am 
Offline
500+ Club
User avatar

Joined: Wed Oct 03, 2007 10:06 pm
Posts: 831
Location: Guelph, Canada
add border="0" within the image tag.


ex.
<img src="yourimage.jpg" width="100px" height="100px" border="0">

_________________
Image
nnjoi.com - Portfolio
nnjoiart.com - Art & Design Blog
bathroomwriter.com - Interested in helping out with Beta Testing? PM me.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 4:10 am 
Offline
500+ Club
User avatar

Joined: Wed Feb 27, 2008 6:14 am
Posts: 929
Location: Cebu City Philippines
Hi dflynn,
border is a deprecated attribute. Though width and height is not yet deprecated, I'm encouraging to start using presentation instead.

CSS should be able to work this:
Code:
<img src="yourimage.jpg" style="width:100px;height:100px;border:0px;">


Hope it helps.

_________________
~ Get me some work, I do freelancing ~


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 11:47 am 
Offline

Joined: Sun Jun 08, 2008 6:12 pm
Posts: 9
It works but if i put this code in the css file:

a:img {
border: 0;
}

i thought the result was the same.
What d'you think?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 12:13 pm 
Offline
500+ Club
User avatar

Joined: Wed Feb 27, 2008 6:14 am
Posts: 929
Location: Cebu City Philippines
It will not work since its erroneous.
There's not img pseudo class for img element.

_________________
~ Get me some work, I do freelancing ~


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 20, 2008 5:01 pm 
Offline

Joined: Sun Jun 08, 2008 6:12 pm
Posts: 9
You're right, but is there a way to put this feature directly in the css together with a:link and so on?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 21, 2008 1:44 am 
Offline
500+ Club
User avatar

Joined: Wed Feb 27, 2008 6:14 am
Posts: 929
Location: Cebu City Philippines
There are always possibility, but I would'nt speak of any without seeing how your markups is arranged.

_________________
~ Get me some work, I do freelancing ~


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley