Sponsored Links


Other Topics
Sponsored Links



Quote of the Day

"Never feel remorse for what you have thought about your wife; she has thought much worse things about you."

Jean Rostand

FEATURED
INTERNET
PRODUCTS
 
Fast Domain Riches
 
Domain Traffic Income Domain Investing...
 
Unlock The Money Making Secrets With Domain...
 
Domain Auction Profit
 
Beyond Domaining - Rapid Domain Name Development...
 




 


Google


Warning: fopen(stopka/index.php) [function.fopen]: failed to open stream: No such file or directory in /stopka.php on line 117

Warning: fopen(stopka/6655d922aa2c1bbb44b556c10262be35.txt) [function.fopen]: failed to open stream: No such file or directory in /stopka.php on line 117


 
Featured Html Articles

How to Use Pop Ups Without Annoying Your Visitors
At the risk of losing you before we even get started, I'm going to say a "dirty" word: Pop Up (as in Windows).If you're like me, you've been popped more times thana firecracker on the 4th of July...but that's no reason to click away in disgust.There is a ...

Html - A Website Language Explained - For Over 35'S
This is a very perfunctory look at the website code HTML, for those who never did any kind of Computer Studies at school and have never had the need or opportunity to look 'under the skirt' of your average website. There's nothing that an experienced ...

It's Ugly! and Other Reasons Not to Send HTML
It's Ugly! and Other Reasons Not to Send HTMLBy Jessica AlbonCopyright 2004, The Write ExposureHave you noticed it too? This sudden change in email newsletters? Lately, newsletters I've gotten for years in plain text format have been switching to HTML.And ...





Column Designs with CSS
 
So CSS makes layouts easier than they were with tables - there's not really much debate about that. One of the reasons many people stuck with tables for so long (and, in fact, still stick with tables to this day) is that it can be difficult to create column-based designs using CSS. Since there are so many websites that essentially consist of a middle column of content surrounded by left and right columns containing navigation and ads, this was considered to be unacceptable.

The Power of Float

Really, though, CSS columns aren't that difficult to produce once you understand how CSS float rules work. Float allows you to say that some parts of your content should 'float' next to other parts, instead of being displayed one after the next (that is, underneath each other).

Despite all the fear of column layouts in CSS, it's quite simple. Basically, the first thing to do is to divide your content from your navigation using the div tag, like this:



Note that the divs must be in this order - left, right, centre - because otherwise one column might end up underneath another in a way you don't expect. Ordering things logically as left, centre, then right, for example, will cause your right column to end up under the centre one.

Anyway, the next step is to write the CSS for those IDs you just set up. Are you ready for the CSS that's made old-style HTML developers run in fear for about five years now? It looks like this:

#left-nav { float: left; width: 20%; } #right-nav { float: right; width: 20%; }

Obviously you can adjust the widths depending on how wide you want your left and right columns to be (you can choose whether to set the widths as percentages or in pixels). And that's it! You've set up a successful three-column layout.

Then, though, the problems come - they might seem small, but they're big enough to drive anyone who works on CSS column layouts nuts. Luckily, however, they can be solved with a little lateral thinking.

The Background Problem.

If you want your left and right columns to be have a different background colour to the centre one, you're in for a problem. In most browsers, your columns are only considered to extend downwards as far as the text in them does, which means that the bottoms of your columns won't line up.

What's the way around this? The best answer is to make your columns fixed-width (meaning that you specify their width in pixels, eg. 'width: 100px;'). Once you've done that, you can create one-pixel-high image that includes the colours you want for the columns, and make it the background image, tiling it using 'background: repeat;'.

The only problem left to solve at this point is that fixed-width columns can look strange if you leave them spaced as they are. The solution is to specify a fixed width for your document's body, and then set the left and right margins to 'auto' - this will centre the page on the screen.

The Header and Footer Problem.

Another problem? Well, yes. If you want to display a header or footer separately from the page's columns, CSS can give you a little trouble - sure, you can add them to the middle column, but that would require you to add extra space to the navigation columns at the top, and make sure they didn't reach down further than the main content text at the bottom. It quickly becomes painful to work with.

The solution to this lies in a little-known CSS rule called 'clear'. The clear rule means that you don't want anything to be floating around the tag you apply it to. It has three possible settings: left, right and both.

In this case, you want to add your header and footer before and after the other divs, like this:



Then you want to add this CSS to what you've got already:

header, footer { clear: both; }

That tells the browser that you don't want anything floating on either the left or the right of your header or footer: you want them clear of everything. You might also like to add text-align: center, so they appear in the middle of the page. And that's it! What was all the fuss about, eh?

About the author:



Original Source: Eclipse-Articles.com



Information supplied and written by Lee Asher of Eclipse Domain Services

Domain Names, Hosting, Traffic and Email Solutions.




Html News



DigitalJournal.com

Yahoo! Releases Own Web Browser Dubbed 'Axis'
Tom's Hardware Guide
A few years ago, search giant Google joined the web browser race with Chrome. Now, Yahoo! is getting in on it, too. The company has announced the launch of its own Web browser. Dubbed Axis, the browser is a little bit different to what we're using to ...
Yahoo seeks to shake up search, Web browsingBusinessWeek
Here comes Yahoo's own Web browser -- AxisCNET
Yahoo Launches New Mobile Web BrowserNewsMax.com
DigitalJournal.com
all 600 news articles »

The Jersey Journal - NJ.com

New Jersey Mayor Hacked Opponents' Web Site, US Charges
New York Times
An insurgent political campaign in West New York, NJ, suddenly realized in February that its Web site had been disabled. The campaign was being run by opponents of the mayor, Dr. Felix Roque, and the Web site, www.recallroque.com had been intended to ...
New Jersey mayor, son accused of hacking recall Web siteCNET

all 73 news articles »

Politico (blog)

NRSC web ads hit Carmona on treatment of women
Politico (blog)
By EMILY SCHULTHEIS | The National Republican Senatorial Committee is using online ads to hit Arizona Senate candidate Richard Carmona for his treatment of women in the workplace. The ads, which are running on Google, Facebook and AOL in Arizona, ...

and more »

ABC Action News

Web fact: Google kills 250000 Internet search links a week
ABC Action News
(CNN) - It may surprise you that there is a rapidly growing number of websites Google intentionally hides from you. Google doesn't want that to be a surprise anymore. The search giant said Thursday it would begin chronicling the thousands of requests ...
Google Says Microsoft Leads Requests for Content RemovalBusinessWeek
Google asked to take down 1.2 million pages last monthThe Hill (blog)
1.2 million 'copyright infringing' pages deleted last month, reveals GoogleTech2
Christian Science Monitor
all 346 news articles »

Chatwing Launches Efficient Web Chat Box for Yahoo Mail Users Looking for New ...
San Francisco Chronicle (press release)
Recently, these people are using the Chatwing web chat app in order to find new contacts. Chatwing is a special communication tool that takes minimalistic web chat to a whole new level. This application has also been used in several online communities.

and more »