Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-01-2009, 07:03 PM   #1 (permalink)
Broken In
 
ninad_mhatre85's Avatar
 
Join Date: Feb 2006
Posts: 116
Thumbs up Help in HTML


Hi
i have created index.html file for all the DVDs i create i have perl script which generates html file for me ... i am not good in html so i some how managed to generate HTML file which will have "MOVIE NAME" ( in center of screen ) then "MOVIE POSTER" below it...

something like this ...

MOVIE 1
POSTER 1
MOVIE 2
POSTER 2
and so on ...

i want HTML file some thing like this ...

MOVIE 1 MOVIE 2
POSTER 1 POSTER 2

and so on ...

if u want i can post HTML code also [ i dont have html file with me now m in ofc now ]
__________________
Life is not measured by moments u breath but by the moments that take ur breath away
ninad_mhatre85 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 09-01-2009, 07:21 PM   #2 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: Help in HTML

Don't you think that, you have to make your requirements more clear ?
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline  
Old 09-01-2009, 07:23 PM   #3 (permalink)
Broken In
 
Join Date: Aug 2008
Location: Mumbai, India
Posts: 169
Default Re: Help in HTML

It'd help if you post the html code so that others can see what you have used - tables, css, etc. Please post it.
Bandu is offline  
Old 09-01-2009, 07:30 PM   #4 (permalink)
हॉर्न ओके प्लीज़
 
victor_rambo's Avatar
 
Join Date: Sep 2007
Posts: 1,493
Default Re: Help in HTML

Quote:
Originally Posted by Bandu View Post
It'd help if you post the html code so that others can see what you have used - tables, css, etc. Please post it.
We will need the pl file.
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति

गीक होना माँगता
victor_rambo is offline  
Old 09-01-2009, 11:19 PM   #5 (permalink)
Broken In
 
ninad_mhatre85's Avatar
 
Join Date: Feb 2006
Posts: 116
Default Re: Help in HTML

sorry for not being clear last time
i was in hurry ...

if you are wondering why i am doing this ?? answer is i create auto run file for every DVD i create ( convert html -> exe )

here is the html code

========
<html>
<head>
<title>PICTURES IN CURRENT DVD </title>
</head>
<body background="background.jpg">
<h2><p style="text-align: center;color: red">TITLES IN CURRENT DVD ARE AS FOLLOWS</p></h2>
<p style="text-align: center;"><A href="Burn_After_Reading.avi">BURN AFTER READING</A></p>
<div style="text-align: center;"><img src="Burn_After_Reading.jpg" width="160"></div>
<p style="text-align: center;"><A href="Lord_Of_War.avi">LORD OF WAR</A></p>
<div style="text-align: center;"><img src="Lord_Of_War.jpg" width="160"></div>
<p style="text-align: center;"><A href="The_Dark_Knight.avi">THE DARK KNIGHT</A></p>
<div style="text-align: center;"><img src="The_Dark_Knight.jpg" width="160"></div>
<p style="text-align: center;"><A href="The_Sixth_Sense.avi">THE SIXTH SENSE</A></p>
<div style="text-align: center;"><img src="The_Sixth_Sense.jpg" width="160"></div>
<p style="text-align: center;"><A href="Tropic_Thunder.avi">TROPIC THUNDER</A></p>
<div style="text-align: center;"><img src="Tropic_Thunder.jpg" width="160"></div>
<p style="text-align: center;"><A href="wednesday.mp4">WEDNESDAY</A></p>
<div style="text-align: center;"><img src="wednesday.jpg" width="160"></div>
</body>
</html>
==========

--------

Here is what i want

this is the current format ( thumbnail )



this is how actual screen looks like


and i want in this format

__________________
Life is not measured by moments u breath but by the moments that take ur breath away

Last edited by ninad_mhatre85; 09-01-2009 at 11:29 PM.
ninad_mhatre85 is offline  
Old 09-01-2009, 11:39 PM   #6 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Help in HTML

You can either use tables, or make small changes (p tags) in the HTML to look like it. But if you want us to script one for you, you have to tell what your data source (for name and images) is like.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 11-01-2009, 10:57 PM   #7 (permalink)
Broken In
 
Join Date: Aug 2008
Location: Mumbai, India
Posts: 169
Default Re: Help in HTML

As QM suggested, use CSS. Your desired result can be easily achieved using tables (although there are other more elegant ways).

Here's your modified code:
Code:
<html>
<head>
<title>Movies in Current DVD</title>
<style type="text/css">
.TableTop {text-align: center; background-color: #FFFFFF; border: solid; border-width: 1px 2px 2px 1px; border-color: #2B4A62 #2B4A62 #2B4A62}
.TableData {font-size: 8pt; font-weight: bold; color: #000000; border: solid; border-width: 1px 2px 2px 1px;}
</style>
</head>
<body background="background.jpg">
<h2><p style="color: red">TITLES IN CURRENT DVD ARE AS FOLLOWS</p></h2>
<TABLE class='TableTop'>
    <TR class='TableData'>
        <TD>Burn After Reading</TD>
        <TD>LORD OF WAR</TD>
    </TR>
    <TR class='TableData'>
        <TD><img src="Burn_After_Reading.jpg" width="160"></TD>
        <TD><img src="Lord_Of_War.jpg" width="160"></TD>
    </TR>
    <TR class='TableData'>
        <TD>THE DARK KNIGHT</TD>
        <TD>THE SIXTH SENSE</TD>
    </TR>
    <TR class='TableData'>
        <TD><img src="The_Dark_Knight.jpg" width="160"></TD>
        <TD><img src="The_Sixth_Sense.jpg" width="160"></TD>
    </TR>
    <TR class='TableData'>
        <TD>TROPIC THUNDER</TD>
        <TD>WEDNESDAY</TD>
    </TR>
    <TR class='TableData'>
        <TD><img src="Tropic_Thunder.jpg" width="160"></TD>
        <TD><img src="wednesday.jpg" width="160"></TD>
    </TR>
</body>
</html>
This is how it looks:
Bandu is offline  
Closed Thread

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a lil help on html. Kalyan Tutorials 2 17-09-2007 05:14 PM
PSD to HTML boosters QnA (read only) 1 19-07-2007 03:03 AM
need html help SMARTLUBANA Tutorials 6 13-07-2007 07:50 PM
HTML to Compiled HTML(.chm) [A]bu QnA (read only) 3 20-04-2007 10:08 PM
HTML COURSE???? himtuna QnA (read only) 23 14-06-2005 05:34 PM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2