Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips

CSS - Page 2

21-40 of 44     Previous     Next
Use Style Sheets to Create Floating Text
by Manoj K.
Use Cascading Style Sheets to create a floating text paragraph. First, add the <STLYE> attribute in the document's <HEAD> ...
Use Appropriate Properties for CSS Positioning
by Deepak Pant
When using CSS (Cascading Style Sheets) positioning, you can apply a number of techniques to make your code faster. When accessing and setting the position of an element, instead of using element.
Assign Image and Color Backgrounds in Table Cells
by Kurt Cagle
Browsers Targeted: Internet Explorer ...
Retrieve Explicit Values With the CurrentStyle Property
by Kurt Cagle
< ...
Use Style Grouping for Leaner HTML
by Ken Cox
The HTML Style syntax lets you apply the same style attributes to a group of tags at the same time. You don't need to define each tag's styles separately. The following code uses the H1, H2, H3 ...
CSS Properties: Display vs. Visibility
by Kurt Cagle
< ...
Apply Web Site Templates Using Includes
by DevX Pro
I want to create a consistent look and feel to my site. Without using frames, how do I apply a template to all my Web pages that will include a navigation bar on every page? What happens when I want to make a change to the navigation bar? Do I have to go to every single page? Cascading Style Sheets (CSS) only allow me to provide consistent formatting, but what about the navigation bar and images?
Add Some Pseudo-Class to Your HTML
by Ken Cox
Rollover effects are fun in HTML but too much code and alternate images means your page takes longer to render in the browser. Don't forget that some effects are built into browsers. For example, ...
Another Way to Include .css File in a Web Page
by Jai Bardhan
Above IE 4.0, you can use a different syntax for importing the contents of a .css file. The general way is to link to the external .css file. However, when working with IE 4.0 and higher, you also ...
Use the CSS Visibility Property to Hide and Show Absolutely Positioned Elements
by Jai Bardhan
You should use the Cascading Style Sheets (CSS) visibility property to hide and show absolutely positioned elements. There is no need to use the CSS display property in the case of an absolutely ...
Add A:hover to Visual InterDev 6 Style Sheets
by Ken Cox
The Visual InterDev 6 Style Sheet editor is confusing about the tags that can be edited. For example, the A:hover style is missing from the list of tags. A:hover is a popular style because it changes ...
Add a Drop Shadow in IE4 or IE5
by Ken Cox
The latest versions of Internet Explorer (4.0 and 5.0) make it easy to add a dramatic drop shadow effect to regular text. Rather than creating bitmaps, try adding a style attribute and a filter. This ...
Dynamically Load a Style Sheet
by DevX Pro
How do you dynamically load a style sheet? I'm trying to use the tag in the to load a style sheet. All the pages in my site use the same so I get a uniform appearance throughout. I want to let users choose which style sheet to use, with a simple form box, and have the SRC attribute of the tag in each page changed to whatever style sheet they choose. I've tried various things with JavaScript and cookies, but I can't figure it out. Is it even possible? I'm designing for Internet Explorer 4 and Netscape 4.
Fixed-Width Tables in IE5
by Steve Renaker
Internet Explorer version 5 has significantly better HTML table support than previous versions. Up until now, HTML writers have had to rely on trial and error to make tables render correctly, but now ...
Applying CSS Styles Across Your Entire Site
by Jonathan Brownell
Using Cascading Style Sheets (CSS), you can easily create styles that apply to the entire site. This technique has many advantages over repeating the same style text over and over in each of your ...
Cross-Platform Font Uniformity
by Steve Renaker
The fact that HTML fonts display smaller on Macintosh monitors than on PC monitors can cause problems for Web site designers. The cause of the problem is Macintosh monitors default to 72 dpi, while ...
Use External JavaScript Files
by Steve Renaker
If you have the same JavaScript program appearing on several different Web pages, you might want to consider using an external file. That way all the pages can refer to the same script, and if you ...
Background Image Tiling With CSS
by Steve Renaker
Cascading Style Sheets allow developers to exercise greater control over background images on the Web. You can make an image tile vertically across the page, horizontally across the page, or both. ...
Collision Detection in DHTML
by Steve Renaker
Collision detection is a fundamental part of game programming. It is also useful for many other aspects of user interface design. Being able to tell if one screen object has collided with another ...
Concise CSS Font Definitions Save Space and Time
by Erik Goetze
When defining a style with multiple font properties, you can save space and enhance readability by collapsing the font attribute values into a concise notation. A restriction of using this notation ...
21-40 of 44     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date