Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Share |
Old 04-02-2018, 01:39 PM
SunEmbroidery's Avatar
SunEmbroidery SunEmbroidery is offline
Contributing Member
Join Date: 04-11-08
Location: Seaville, NJ
Posts: 85
iTrader: 0 / 0%
Problem Moving Inline Style To Existing CSS File

I'm unable to move an inline style for my logo header on an html page to an existing css file. This is the original html:

HTML Code:
<div id="logo"> <span class= "greentext"> <a href="http://www.v7n.com/forums/index.htm" title="Text - Home"> <img alt="Atext Btext Ctext Dtext - Home" src="http://www.v7n.com/forums/javascripts/images/catalog/logo-text.png" style="margin-bottom: -0.9%"></a><br>Atext</span><span class= "bluetext"> Btext</span> <p class= "whitetext">Ctext</p> <p class= "bluetextsm">Dtext </p> </div>
I added a class to the css:
.imgmargin {margin-bottom: -0.9%}

and replaced the inline style with class="imgmargin" to the html.

What am I doing wrong? Thanks!



Go Back   Webmaster Forum > Web Development > Coding Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory

All times are GMT -7. The time now is 11:10 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC