Does anyone know how to get a visualforce page to have text span across 2 columns? I know the command in HTML would be a colspan command, but I have not been able to find the equivalent in Visualforce. Any help would be appreciated.
Does anyone know how to get a visualforce page to have text span across 2 columns? I know the command in HTML would be a colspan command, but I have not been able to find the equivalent in Visualforce. Any help would be appreciated.
Best Answer
Assuming you want to do this in a table, you would use the
colspan
attribute of<apex:column>
. Quoting from the documentation, colspan represents:Example:
Note: Keep in mind that you can always apply custom CSS and classes to the apex controls.