Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 10th, 2003, 04:20 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default CSS Problem

Hi all,

I am working on a few CSS style sheet files for my Introduction to Internet Programming class. Basically, I am using Visual InterDev 6 to define the new style sheets and two of the style sheet files have turned out to be a piece of cake. My only problem is that I would like to modify the style sheets so that the first heading would be centered no matter what style is chosen. I looked inside Visual InterDev but I don't see any option to center a heading. Would it be easier to use Dreamweaver MX for this?

Any help would be appreciated

FYI!!!! I will get the code posted here as soon as I can

Thanks in advance

Ben
Madison Area Technical College student
-------------------------
I am one of those people that you call "Microsoft Access Freaks". I'm addicted to Access
__________________
Ben Horne
-------------------------
I don\'t want to sound like I haven\'t made any mistakes. I\'m confident I have.

Most likely using FireFox and concocting my next Macromedia Flash project
Snibworks Forums Moderator

Welcome to the New Age
 
Old November 10th, 2003, 04:37 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

<wisecrack>
They let you use the VI "wizard" for building styles in a class? Seems like that defeats the purpose.
</wisecrack>

You should be able to define a header style such as this:
H4{
    text-align: center;
}

What do you mean by "no matter what style is chosen"? Do you mean which ever class value you put in the Hx tag?

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old November 10th, 2003, 05:31 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

I got it all figured out. I should really be using FrontPage for the style sheets since it's so much easier.

[wisecrack]
Why didn't I think of using FrontPage before? DUH!!!!!
[/wisecrack]

Ben
Madison Area Technical College student
-------------------------
I am one of those people that you call "Microsoft Access Freaks". I'm addicted to Access





Similar Threads
Thread Thread Starter Forum Replies Last Post
Css formatting problem beetle_jaipur CSS Cascading Style Sheets 2 June 5th, 2009 07:16 AM
CSS problem stuartlittle ASP.NET 2.0 Professional 1 March 11th, 2008 02:28 PM
problem with css menus kanoorani CSS Cascading Style Sheets 0 February 16th, 2008 07:44 AM
CSS Menu problem twc02 CSS Cascading Style Sheets 24 March 11th, 2005 11:01 AM
CSS comments problem Groundhog1248 CSS Cascading Style Sheets 2 January 20th, 2005 09:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.