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.

Page breaks up when trying to link

Featured Replies

Please help . I am new to dreamweaver. I have bought cs3 photoshop and dreamweaver and can't find this in the help anywhere.

 

I make a few pages in photoshop then slice them up and save for web. Now I open the index file (main page) in dreamweaver, all's fine. I then 'point to file' and select the right file to link to. When I do this it brakes the page up and leaves everything disjointed. It's like my page has had an earthquake. Does anyone know why this is?

 

Many Thanks

temp.html

post-3660-1203860227_thumb.gif

add this somewhere inbetween the <head> and </head> tag in the code in dreameaver

 

<style>

img {border:0}

</style>

 

 

 

That should fix it.

Dizi has hit the nail on the head...

 

For an obscure reason known only to webbies since the dawn of netdom, there's a 'border' attribute which defaults at an ugly blue line in Explorer when an image is made into a link (href).

 

What seems to be happening is the tables/cells are restricted to the size of the images. By making an image a link, the border attribute kicks in and throws the whole thing into disarray.

 

There's no reason you'd want to have a border on an image for style purposes when used as a link, so use the css Dizi recommends to 'catch-all' remove it.

 

Another thing to watch is that your ready-coded import to dreamweaver doesn't have lots of ugly 'td width=' and 'td height=' tags. It's very good practice to go through the auto-generated code and try to move everything you can to CSS, and avoid inline styles wherever possible... this makes the overall semantics compliant, plus has the advantage of giving you control from a single CSS sheet—one less butt to kick when things go wrong.

 

The problem you're having used to be what we called 'the curse of ImageReady Slices'... and you'll find as time goes on that sure, it's a quick way to get a PS file sliced up into HTML... but it has TOO MANY flaws for real-world use.

 

And don't get me started on over-coded ImageReady rollover exports... yeuch!

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.