213 Posted Topics
Re: Please use code tags when posting code. Most of the code you're using is deprecated. For example: [CODE=HTML]<body bgcolor="#660066" background="Images/2335.jpg" text="#9966CC" link="#9966CC">[/CODE] Can be done with CSS. [CODE=CSS]body { background-color: #660066; background-image: url('Images/2335.jpg'); background-repeat: no-repeat; color: #9966CC; } a:link { color: #9966CC; }[/CODE] [URL="http://webdesign.about.com/od/htmltags/a/bltags_deprctag.htm"]Here[/URL] is a list of deprecated elements. … | |
Re: It looks like a width issue, but without the complete markup or a link to the page with that template it's difficult to tell. Thanks, Arkinder | |
Re: Hi David, Use a p or div rather than a span. Text is an inline element and so is a span. For [ICODE]text-align[/ICODE] to work, it must be used on a block level element (p, div, etc.) to center the inline content. Regards, Arkinder | |
Re: My apologies for butting in - just a few things I noticed: In previously posted HTML you have [CODE=HTML]src="../myfirstproject/images/genlogo.jpg"[/CODE] Which tells me that your HTML document is not in the myfirstproject folder. Make sure that you are referring to your CSS file the same way you referred to your image. … | |
Re: Accidental post - will correct in a moment. | |
Re: All of this depends on your elements, and how you have styled them. This cannot be done in HTML or CSS alone. However, it can be easily done with JavaScript. I haven't used JavaScript actively in a few years; and I haven't made an effort to keep up with it, … | |
Re: You would need a separate stylesheet with the CSS for the printed section you would like. For more information on stylesheets for print, go [URL="http://css-discuss.incutio.com/wiki/Print_Stylesheets"]here[/URL]. As for just printing the ICard and adding a message to the page, to my knowledge it cannot be done with HTML or CSS alone. … | |
Re: To add to Borzoi's post, Typically the background-image property should have single quotes surrounding the destination - [ICODE]background-image: url('images/fond.png');[/ICODE] If you are trying to center the text and inline elements on your page, then use [ICODE]text-align: center;[/ICODE]. Otherwise if you are trying to center the body itself, it would be … | |
Re: Every browser, by default adds margin and padding to different elements. Set this to 0 by using this CSS rule. [CODE=CSS]* { margin: 0; padding: 0; }[/CODE] This is known as the universal rule or selector, and It affects every element on the page. Regards, Arkinder | |
Re: I accidentally posted before finishing. I'll edit with completed post in a moment. | |
Re: Please post the full markup or a link to a test page. Otherwise it is extremely difficult to help you. Thanks, Arkinder | |
Re: [URL="http://www.css3.info/preview/rounded-border/"]This[/URL] should explain everything you need to know about the border-radius property. Regards, Arkinder |
The End.