Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A little help....

Featured Replies

I am trying to make a news column on a site i am currently working on, where it would have have 64px x 64px image to the left of some text. It looks fine in dreamweaver, but when i preview it in a browser the image appears on top of the text.

 

here is the part of the css that deals with the text and image, if anyone could point me in the right direction that would be great.

 

.news {

margin:0px 0px 10px 0px;

width:340px;

min-height:30px;

float:left;

border-bottom:#A67835 1px dotted;

}

* html .news {height:30px}

 

.64x64 {

margin:0px 5px 0px 0px;

width:64px;

height:64px;

float:left;

background-color:#666666;

}

 

.news_text {

margin:5px 0px 5px 0px;

width:260px;

min-height:20px;

float:left;

color:#FFFFFF;

font-weight:bold;

font-size:14px;

}

* html .news_text {height:20px}

 

 

And the html for that part.

 

<div class="news">

<div class="64x64"><img src="images/turner68.png" alt="Frank Turner"></div>

<div class="news_text">READ OUR EXCLUSIVE INTERVIEW WITH FRANK TURNER</div>

</div>

 

This is how it should look

post-12747-125526276486_thumb.png

 

but this is how it looks

post-12747-125526277903_thumb.png

 

 

If anyone help that would be great.

Hi, you cant start a class definition with a number so .64x64 wont parse properly.

Change it to .div64x64 and amend your HTML code accordingly and it will work fine :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.