Newbie needs some css help - Post ID...

User 117361 Photo


Ambassador
6,076 posts

The only thing I sometimes find a little dangerous with a global rule for heading tags such as h4 etc. is that then when I want to use the same heading size elsewhere, the minus margin might no longer be appropriate. So it might be wise to specify that the h4 for that title is only applied in those lists.

For example the following in your css:
h4.list-title
{
margin-bottom:-5px;
}

And this along with your h4 tags around the title in your html:
<h4 class="list-title">Salon Services</h4>

User 562592 Photo


Registered User
2,038 posts

The rule of thumb I use is to set my global styles if I think I am going to use a page element the majority of the time a specific way. Otherwise, if I then need to specify say an h4 tag differently, I will bury it in a specific div:

#content h4{...}
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 271657 Photo


Ambassador
3,816 posts

This is just one div to be inserted with the html tool into a VSD page, so this is the only area where I'm specifying anything - I'll let VSD do the rest for me :D I guess I would have the same results if I called each title <p> instead of <h4>?
I could make the list/menu in another program and insert it into an Iframe, but I wanted to try out the HTML Editor and start dabbling in some CSS :)
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 562592 Photo


Registered User
2,038 posts

paintbrush wrote:
This is just one div to be inserted with the html tool into a VSD page, so this is the only area where I'm specifying anything - I'll let VSD do the rest for me :D I guess I would have the same results if I called each title <p> instead of <h4>?
I could make the list/menu in another program and insert it into an Iframe, but I wanted to try out the HTML Editor and start dabbling in some CSS :)


That's great if you need any help let me know.
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 271657 Photo


Ambassador
3,816 posts

Well, I've got the latest Editor version sitting on my desktop, but I haven't been able to wean myself off of VSD just yet - it's just so quick and easy, with no browser issues. I've got my own site almost done. Maybe after everything's in place I'll try re-doing it in the HTML Editor. So Eric - you've been warned :lol:
I could very well set the record for newbie questions!
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 562592 Photo


Registered User
2,038 posts

How else am I going to get my post count up? :D
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 2000538 Photo


Registered User
1,392 posts

You'll never catch Scott and JC Eric :lol:
I know you believe you understand what you think I said...but I am not sure you realize that what you heard is not exactly what I meant.


User 38401 Photo


Senior Advisor
10,951 posts

Grats on 1000 posts Tassie! :P
User 2000538 Photo


Registered User
1,392 posts

Aw thank you Jo Ann :D

I had some balloons already and I missed it :lol:
I know you believe you understand what you think I said...but I am not sure you realize that what you heard is not exactly what I meant.


User 117361 Photo


Ambassador
6,076 posts

http://www.venicedigital.com/cc/pc-grin.gif
Sorry - no balloons available! Just take my word for it - he is singing to you - something like..."Congratulationsssssssssssssss yeeeeeeeeeeeeeeh!!!!"

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.