Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Design

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-10-2009, 02:09 PM   #1
Steve Rindsberg
Join Date: Nov 2004
Posts: 7,199
Default Can CSS help with this?

I have a program that converts PowerPoint presentations to a series of HTML pages and images.

It also converts any links found on each PPT slide to working links in the HTML. It uses an image map to do this, and there's the rub. Image map wants absolute pixels for coordinates, which forces me to use pixels to specify the image size ... no way to make the layout fluid or to fill the browser window regardless of size. Image map doesn't allow %.

Here's a simplified example of what I'm doing now:


[head/body tags]

<map name="slide_1" id="slide_1">
<area shape="rect" coords="66, 40, 320, 113" href="slide_2.HTM" title="Next Slide" />

<center><img src="slide_1.png" usemap="#slide_1" width=800 border="NO"></center><br />

[closing tags]


Working out the relative coordinates for anything on the page shouldn't be too difficult, and given that, positioning it using CSS would follow. My problem boils down to:

WHAT do I position there?

In other words, how do I place a "something" in a div that produces a clickable link?

- Without adding anything visible to what's already there
- Without obscuring the image beneath
- And do it so that the results are accessible to e.g. screen reader users
- X-browser compatibility would be ideal, but not an overriding concern

Or is it even possible?

Any ideas welcome. Thanks!

Steve Rindsberg
and stuff
Steve Rindsberg is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 11:01 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Contents copyright 2004–2019 Desktop Publishing Forum and its members.