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.

Why won't it work?

Featured Replies

Done something wrong but dont know what???

 

 

I am trying to get four images two on top and two underneath all with a little text underneath.

 

they are wrapped in a 700px wide DIV

 

Heres the code...

 

<div class="right_hand_images">

<div class="left_box">
<img src="images/themobile.jpg" alt="mobilehair">

<p>The Mobile Hairdresser is a run by a professional hair stylist. This is from our business design package and includes 7 

pages of professionally coded HTML, with a contact form and image gallery.</p>

</div><!-- left_box end -->


<div class="right_box">
<img src="images/clubland.jpg" alt="clubland" width="340">
<p>Club Land is a biggest hardcore label in the industry with a huge network of stomping fans.</p>

<p>Club Land already have a strond brand so we had to work with that in order to incorperate this in our design.</p>

</div><!-- right_box end -->

<div class="left_box"><!-- right_hand_images -->
<img src="images/aveda_top.jpg" alt="aveda">

<p>Aveda manufactures professional plant-based hair care, skin care, makeup, Pure-Fume and lifestyle products.</p>

<p>Aveda already have a strond brand so we had to work with that in order to incorperate this in our design.</p>

</div><!-- left_box end -->


<div class="right_box">
<img src="images/themobile.jpg" alt="mobilehairstylist">
<p>The Mobile Hairdresser is a run by a professional hair stylist. This is from our business design package and includes 7 

pages of professionally coded HTML, with a contact form and image gallery.</p>

</div><!-- right_box end -->


</div><!-- right_hand_images end -->

 

CSS

 

.right_hand_images{
width:700px;
margin-top:40px;
float:left;
border-top:1px solid #9a9a9a;
border-bottom:1px solid #9a9a9a;
}

.left_box{
width:340px;
height:350px;
font-weight:bold;
float:left;
margin-top:10px;
margin-right:11px;
}

.left_box img{
border:2px solid #9a9a9a;
}

.right_box{
width:349px;
height:350px;
float:left;
font-weight:bold;
margin-top:10px;
}

.right_box img{
border:2px solid #9a9a9a;
}

 

They are all aligning vertically... what am I doing wrong?

Is the site up on t'net? I find it better to look at the site.

 

Maybe try having a "top box" div and "bottom box" div instead of left and right.

 

(Sorry this is this best help I can give.... I'm still getting to grips with css myself :) )

  • Author
Maybe try having a "top box" div and "bottom box" div instead of left and right.

 

Agh you may have cracked it Helen I think you could be right... humm I will stick it on the net 2 mins

Have you given up Helen? ha ;)

 

Sorry....... :D Got cold and went to bed - cheaper than putting the heating on :lol:

 

Good to see you have sorted it!

 

Very nice. Good use of styleswitcher..... I may have to pick your brain about that as I'm currently designing a site that requires 2 stylesheets.

 

The only thing I'm wondering about is the header space. I would personally make your logo bigger as it gets lost behind the large graphic (which BTW is V nice)

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.