CSS Help Please
Hello there,
Without using CSS in HTML, I was using the code given below within BODY to show following two images:
[LIST=1]
[*]one in the background [IMG]http://www.urdufans.com/forum/bg/admin.gif[/IMG]
[*]other on the left side [IMG]http://www.urdufans.com/forum/ls/admin.gif[/IMG]
[/LIST]
[CODE] Mujahid Taban[/CODE]
Using this code I was showing both images like [IMG]http://i841.photobucket.com/albums/zz338/mujahidtaban/Temporary/633f0699.png[/IMG]
Now I want to use CSS within HEAD. Please tell me what CSS code I can use for this purpose?
Regards,
mujahidtaban
mujahidtaban posted this at 15:17 — 19th December 2010.
They have: 2 posts
Joined: Dec 2010
Let me elaborate my question.
For [IMG]http://i841.photobucket.com/albums/zz338/mujahidtaban/Temporary/633f0699.png[/IMG], I am using following code:
[CODE]
Mujahid Taban
[/CODE]
Now I want to use an external CSS file in order to reduce my code becasue I have to use "Mujahid Taban" many times in the page. Someone suggested me following CSS and HTML:
In style.css file:
[CODE]img{
border:none;
}
#heart{
color: #FF0000;
background-image: url('http://www.urdufans.com/forum/bg/admin.gif');
}[/CODE]
In index.html file:
[CODE]
Mujahid Taban
[/CODE]
That reduced the code a little but I want only following code in HTML:
[CODE]Mujahid Taban[/CODE]
Everything else should too be in external CSS. What CSS code I should use for LEFT SIDE image (heart) and for removing strong.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.