Html element #2 - Page 3

User 244626 Photo


Registered User
659 posts

Wayan Jaya wrote:
Twinstream wrote:
I must be invisible....


I can see you Twinstreem :)


Always nice to know someone responds.....Thanks !
User 122279 Photo


Senior Advisor
11,631 posts
Online Now

I finally was able to open that cc.rsd. But we can't see how the menu in the left column is interacting with the image in the right column, because the html for the menu is full of php, which doesn't work well with RSD, and also not with S-drive.

Carlos, if you want to convert your site to an RSD site, I would suggest that you also build the menu in RSD. You can achieve exactly the same result, your menu would be responsive (which it is not now), and it would fit right into that 4 spans column. Surely, it IS possible to add php includes to html elements, but you may have all the trouble you are having now with missing closing divs etc., unless you keep your tongue dead straight...

And as always, if you get stuck, you will always find someone here who can get you out of the tangle. ;)
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2624742 Photo


Registered User
51 posts

Thinking, here.
Charliej
User 2699991 Photo


Registered User
1,800 posts
Online Now

charliej wrote:
Thinking, here.
Charliej


well as I said before,, the div in the html element is set to max width 820px
<!-- Agregado manejo mySql-->
<div style="max-width:820px;margin:0 auto;">
The column holding the html element is set to 4 spans the row is set to 1200px therefore 4 spans = 300px The html width is over-riding the column width

set the row to say 1400 px at larger size views
set the column holding the html element to 8 spans set the column holding the image to 4 or less spans BOOOOM html element and image side by side
play around with the column widths at lower display sizes to make it look good at those points however you please
The Help You Need : When You Need It The Most
website https://rsdtutorials.com
new website https://sdv3tutorials.com
components cabinet https://sdv3tutorials.com
hit the components cabinet link

User 2624742 Photo


Registered User
51 posts

Hello everyone,

I have tried all the ideas and suggestions that have given me, being the last one, that of Wayan, the one that was closest to being the solution. But no, the image was now higher on the right side, but not aligned with the accordion menu. So, I got bored and I'll look for another solution.
When I try the html generated by coffecup it works normal, now, with the changes suggested by Wayan. However, if I change the name to php the problems restart without making absolutely no changes.
It seems to me that something is still missing in RSD regarding the handling of html elements, since in many other occasions with simple codes everything is going very well.
However this repetitive piece of php code that is a simple call to MySql should not cause so much trouble, nor is it a problem with the php code since the calls are made correctly.
He just did not like what I did (RSD)

Greetings to all, friends who also go beyond the demonstrated solidarity.

Charliej
User 122279 Photo


Senior Advisor
11,631 posts
Online Now

I'm no expert on PHP, but I know that you can have PHP includes in HTML elements. But you cannot change the pages from HTML to PHP within the programme, only if you export it and edit it in some HTML editor. And if you do, you will lose your changes if you go on editing in RSD and export again. The other thing is the S-drive. I don't think it can parse PHP in HTML pages.
But since you have a server with the files that are working, why not create a test folder and upload to that instead of the S-drive? Then at least you wouldn't have to worry about the capacities of the S-drive.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2624742 Photo


Registered User
51 posts

Hi, Inger

I have two servers, one on my own PC, xampp for windows, which includes Apache, Php, MySql and several others. This helps me to test everything locally. On the other hand I have hosting in Godaddy and in BlueHost and in one of these I test when my tests have been completed locally.
Obviously I am not a great programmer neither in php nor in html but I defend myself well enough to overcome all these details, the point of which we speak.
In order to make a simple line of php code included in html work, simply change the extension from html to php and you're done!

I insist that for my knowledge, this has surpassed me.

However, these conversations are good because you learn from people much more knowledgeable in the topics that are discussed.

regards

Charliej
User 2699991 Photo


Registered User
1,800 posts
Online Now

charliej wrote:
Hello everyone,

I have tried all the ideas and suggestions that have given me, being the last one, that of Wayan, the one that was closest to being the solution. But no, the image was now higher on the right side, but not aligned with the accordion menu. So, I got bored and I'll look for another solution.
When I try the html generated by coffecup it works normal, now, with the changes suggested by Wayan. However, if I change the name to php the problems restart without making absolutely no changes.
It seems to me that something is still missing in RSD regarding the handling of html elements, since in many other occasions with simple codes everything is going very well.
However this repetitive piece of php code that is a simple call to MySql should not cause so much trouble, nor is it a problem with the php code since the calls are made correctly.
He just did not like what I did (RSD)

Greetings to all, friends who also go beyond the demonstrated solidarity.

Charliej


So place the html element & the image into 1 column

Then go to the design pane fot the column gp down to position

set the display = Row
wrap = Wrap
justify= Space Around
items=center

set the image width to whatever you want : edit the max width in the code within the html element to something like 350px BOOOOOM once again side by side and the items centered in the column
The Help You Need : When You Need It The Most
website https://rsdtutorials.com
new website https://sdv3tutorials.com
components cabinet https://sdv3tutorials.com
hit the components cabinet link

User 2699991 Photo


Registered User
1,800 posts
Online Now

http://rsd-tutorialscom.coffeecup.com/storage//html-element-centered.png
The Help You Need : When You Need It The Most
website https://rsdtutorials.com
new website https://sdv3tutorials.com
components cabinet https://sdv3tutorials.com
hit the components cabinet link

User 2624742 Photo


Registered User
51 posts

Hi, Mayan,

I almost gave up, but with your last post things were fixed and has been more or less as I wanted.

This is the link: http://hot-spring.cl/coffeecup provisional.

Thank you very much everyone for the help.

Charliej

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.