tags:

views:

98

answers:

2

hi guys,

I have a page where all links where working properly but all the sudden some links are not working anymore.

I am puzzling myself to undersand why. Nothing really changed. Maybe some css details.

Is there anyone who can give a clue?

Thank you for any help. me abou twhat might have happened. Francesco

PS sorry forgot to say that looking at the source code the links are there and they work. In design view they just do nothing. They look like normal text.

<div id="centrale"><h1>&nbsp;&nbsp;Upcoming events</h1>
    <div class="centrale_event"><a href="events.php" class="new">CLICK HERE TO SEE ALL UPCOMING EVENTS</a></div>
    <p class="line">&nbsp;</p>
    <?php do { ?>
 <div class="centrale_event">
    <p><img src="<?php echo 'drawings/'.$row_rstevents['event_picture']; ?>" class="float" alt="" /><span class="big"><?php echo $row_rstevents['event_title']; ?></span></p>
    <p><strong><em>Starting on <?php echo $row_rstevents['date']; ?></em></strong></p>
    <p><strong>Where</strong>:&nbsp;<?php echo $row_rstevents['event_town']; ?></p>
    <p><strong>Place</strong>: <?php echo $row_rstevents['place']; ?></p>
    <p><?php echo extractFirst($row_rstevents['event_details']); ?> &nbsp;&nbsp;<a href="events_details.php?event_ID=<?php echo $row_rstevents['event_ID']; ?>" class="new">MORE INFO HERE</a></p> 
    <p class="line">&nbsp;</p>
 </div>
  <?php } while ($row_rstevents = mysql_fetch_assoc($rstevents)); ?>

  <div class="centrale_event"><p><a href="events.php" class="new">CLICK HERE TO SEE ALL UPCOMING EVENTS</a></p></div>
</div>
A: 

Are you using Dreamweaver? I thought you might seeing as you mentioned Design View.. If that's the case then just hit F12 to view in a browser, the design view of DW is pretty lame.

Kyle Sevenoaks
Yes I am using Dreaweaver and I can see the page in a browser. And that is what is happening. I might have an error somewhere but checked and found noting.
francesco
Well can you copy and paste the code that is causing the issues? Either from Dreamweaver itself or from the source code (ctrl+u in FF/Chrome View>Source in IE)
Kyle Sevenoaks
Can you paste the CSS too? Then we can have a better idea of what's going on..
Kyle Sevenoaks
A: 

Nothing to do with the link problem, but is there a reason you're using a do {} while () loop to output your database results? Using this construct will output at least one blank event before any actual data shows up, as the first time around the loop, you haven't retrieved any data from the query yet. Any reason you can't do a regular while() { } loop?

Marc B