/    Sign up×
Community /Pin to ProfileBookmark

i have been pondering this stupid code for two days now.

please visit: [url]http://davidxp.com/film/[/url] to see what i am referring to.

once there you will see an image talking about a film festival and below and body of text concerning argentinian writer jorge luis borges. disregard that however.

anyway. you see the image and if you look at the source code (please do) you will see that i made a table (a position:static one) and am trying to get rid of that inner box.if i get rid of the <TR><td> tags the whole box is gone.

i am trying to get the image which is already boxed in photoshop to be above the text which i am trying to box using tables SANS the inner one.

fyi: this site uses a css but that isnt relavent to my problem

thank you!

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@maffmommieJun 09.2005 — Try this:

[CODE]<html>
<head>
<title>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;davidfilms&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>
<link rel="stylesheet" type="text/css" media="screen" title="User Defined Style" href="films.css" />

<style type="text/css">
body { background-image: url("fiback.gif"); }
</style>

</head>

<body bgcolor="000000">

<div style="position:static; margin-left: 479px;margin-top: -15px; ">
<img src="filogo.gif"></img><BR></div>

<div style="position:static; margin-left: 30px;margin-top: -555px;">

<img src="fflogo.gif"></img></div>

<div style="position:static; margin-left: 36px;margin-top: -5px;">
<table width="347" cellpadding="0" cellspacing="1" border="0" style="border-top: 0px" bordercolor="ffffff">

<TR><TD>
In 1921, Borges returned with his family to Buenos Aires where he imported the doctrine of Ultraism and launched his career as a writer by publishing poems and essays in literary journals. Borges's first collection of poetry was Fervor de Buenos Aires (1923). He contributed to the avant-garde review Martín Fierro (whose "art for art's sake" approach contrasted to that of the more politically-involved Boedo group), co-founded the journals Prisma (1921 - 1922, a broadsheet distributed largely by pasting copies to walls in Buenos Aires) and Proa (1922 - 1926). He was, from the first issue, a regular contributor to Sur, founded in 1931, by Victoria Ocampo, which became Argentina's most important literary journal. Ocampo herself introduced Borges to Adolfo Bioy Casares, who was to become Borges's frequent collaborator and Ocampo's brother-in-law, and another well-known figure of Argentine literature.

In 1933 Borges was appointed editor of the literary supplement of the newspaper Crítica, and it was there that the pieces later published in Historia universal de la infamia (A Universal History of Infamy) appeared. These pieces lay somewhere between non-fictional essays and fictional short stories, using fictional techniques to tell essentially true stories, and literary forgeries, which typically claimed to be translations of passages from famous but seldom read works. In the following years, he served as a literary adviser for the publishing house Emecé Editores and wrote weekly columns for El Hogar, which appeared from 1936 to 1939.

Borges's father died in 1938, a great blow because the two were very close. At New Year's 1939, Borges suffered a severe head wound in an accident; during treatment for that wound, he nearly died of blood poisoning. While recovering from the accident, he began writing in a style he became famous for, and his first collection of short stories, El jardín de senderos que se bifurcan (The Garden of Forking Paths) appeared in 1941. The book included "El sur", a piece that incorporated some autobiographical elements, notably the accident, and which the writer regarded as his personal favorite. Though generally well received, El jardín de senderos que se bifurcan failed to garner the literary prizes many in his circle expected for it. Ocampo dedicated a large portion of the July 1941 issue of Sur to a "Reparation for Borges"; numerous leading writers and critics from Argentina and throughout the Spanish-speaking world contributed writings to the project.

Starting in 1937, Borges began working at the Miguel Cané branch of the Buenos Aires Municipal Library as a first assistant. When Juan Perón came to power in 1946 he was effectively fired, being "promoted" to the position of "Poultry and Rabbit Inspector" for the Buenos Aires municipal market (from which he immediately resigned). His offenses against the Peronistas up to that time had apparently consisted of little more than adding his signature to pro-democratic petitions, but shortly after his resignation he addressed the Argentine Society of Letters saying, in his characteristic style, "Dictatorships foster oppression, dictatorships foster servitude, dictatorships foster cruelty; more abominable is the fact that they foster idiocy."
</tr></td>

</table>
</div>




</BODY>
</HTML>[/CODE]
Copy linkTweet thisAlerts:
@David_HarrisonJun 09.2005 — I'm not quite clear on something, why do you need the table at all?

Incidentally, there's no such thing as position:static; However these all exist:

position:relative;

position:absolute;

position:fixed; /* IE doesn't understand this and just ignores it. :rolleyes: */
Copy linkTweet thisAlerts:
@davidj2318authorJun 09.2005 — Try this:

>code stuff here<

[/QUOTE]


i appreciate your help but unfortunately the same thing is happening with no change.

david harrison: i understand what you are saying, i despise tables but it seems like the [i]simple[/i] solution to my problem
Copy linkTweet thisAlerts:
@David_HarrisonJun 09.2005 — i appreciate your help but unfortunately the same thing is happening with no change.

david harrison: i understand what you are saying, i despise tables but it seems like the [i]simple[/i] solution to my problem[/QUOTE]
I don't understand why it is a solution at all, is it just to provide a border? If so then a simple <div> tag would do.
Copy linkTweet thisAlerts:
@rch10007Jun 09.2005 — [CODE]
<style type="text/css">
body { background-image: url("fiback.gif"); }
table { border-top: 1px; border-left: 1px; border-right: 1px; border-bottom: 1px; }
</style>
[/CODE]


Above you will find that I have made an addition to you style definition just below your <body> tag. It includes a table definition which declares the border size for each side. It doesn't line up exactly with the border around the image and I think this is because you may have a table defintion in your css file already. Double check it to see if this is the case. There is a css defition that calls for a "double" line and I think this is what may be causing your problem. Another thing to try to line up the boxes is to use 348 for the table width but that doesnt help the left side.

I hope this helps somewhat.
Copy linkTweet thisAlerts:
@ray326Jun 10.2005 — Ditch the table. That's a trivial css-only page.
×

Success!

Help @davidj2318 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...